Add Datastore write capability

This patch addresses the writing capabilities of the Datastore class.
The Datastore is now capable of both serialization and deserialization
of the records it contains.
Merge pull request #33 from vmrob/datastore-write

Add Datastore write capability