Serialization changes.

* InstanceId is now visible data member, public getter/setter.
* ICreateAndLoadFromDto now uses byte[] instead of object in its
signatures.
* Some other tweaks.