[frontend] Use session gravatar hash in header
mongoose.Schema.Types are different from mongoose.Types, so keep the same names in mongo.js too
[frontend] GET and PUT /users, plus new REST scaffolding with error and etags handling