Connecting prediction up to EagerDB.

Also adding tests for MarkovProbabilityStorage class.