Refactoring profile and user to make them user a resource for avatar instead of giving links to the picture.

Makes much more sense this way even though I have to add a field in the database which I tried to avoid. But too much serialized options can sometimes be too much.

Also add specs because that controller lacked love.

Issues #230 and #231.