Profile owner should be able to upload profile image or use gravatar

Closes ndlib/planning#272

Fix view formatting

Add test
Merge pull request #222 from ndlib/272-profile-image

Profile owner should be able to upload profile image or use gravatar