Online Discovery and Learning of Predictive State Representations