Feature/key rework

This changes makes us possible to save keys in gae datastore unencoded.