key save function in UserModel
Merged 'dev'.
Finish pgp-key-handling
add api call for saving pubkey
Finish pgp-key-handling