Fix a bug #112 related to serialization of TreeMaps. Add more tests to check it properly.

git-svn-id: http://kryo.googlecode.com/svn/trunk@379 a9660ef0-a895-11de-8ba5-91705c1537ed