Migrating the reflection based serialization from Java to new Scala 2.10. Master unstable, though all existing APIs work and tests pass.