datastore: Introduce Key type

Related to #73 and #39.
Done.

Sorry, I pushed before I linted.