Added some datastore helper function to save and delete entities.
Added some testing and fixed any test bugs I found.
Merge branch 'release/v0.4'