Session: add getSolves and replaceSolves.

This allows the Session to be saved/loaded.