Complete JavaElementAdapterTest
added JsonObjectStoreAdapterTest (which passes)
code source organise/tidy
Tidy up divide between identity and Digest, so all serialisation code
that relies on Digest is tucked away inside a few classes - mostly the
JsonStoreAdapterFactory