Add test case for serialization of custom objects.

This doubles as example code for creating customized KryoBijection
subclasses that serialize custom classes that have a bijection to a
primitive type.
Merge pull request #51 from schmmd/customtest

Add test case for serialization of custom objects.