fix(avatars): return the profile image id after a post or upload

Fixes #58.

@seanmonstar r?