Implementation of the PrimaryKey type

This pull request partially fulfills https://github.com/google/cayley/issues/185 

I've implemented a PrimaryKey type that refactors the IDs used for Deltas and the associated quadstore horizons. 

I need to abstract this so UUID based primary keys can be implemented for the App Engine datastore backend.