adds atomic profile update function

Yes, I added request because I don't know the old-school http-only way of sending a POST with a JSON body :-P
Eg: https://github.com/npm/npm-registry-couchapp/blob/master/registry/updates.js#L4