updated code to use new version of kryo

all unit tests under src/test/java still pass (at least for me)