Make all Message Gson tests work.

- Write adapters for ValueMessage transfer.
   (similar to base64Adapter)
- write equals where missing.
Put results of work in GsonDeEncodingTest into production code.

- register adapters in ModuleMain
- register all messageTypes.