Fixed save and restore of activity state.

* Updated to Ruboto 0.10.1 and JRuby 1.7.2 master
* Fixed restore of activity state.