Fix a bug with generics reported on the mailing list. Add a test-case for it.

git-svn-id: http://kryo.googlecode.com/svn/trunk@376 a9660ef0-a895-11de-8ba5-91705c1537ed
Don't use the diamond operator to make the sources 1.5 compatible

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