Improve handling of generic type parameters. Re-factor related code. 

git-svn-id: http://kryo.googlecode.com/svn/trunk@395 a9660ef0-a895-11de-8ba5-91705c1537ed
Improve handling of generic type parameters. Make JDK6 happy.

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