Add ajax setting of user name

Edit name movedinto a partial

Extract method used to make code in settings page more understandable

rename or remove unnecessary classes

rename classes

remove unused class

fix failing specs

Client-side validation added for file size

set default gravatar

Set gravatar to be default after create

moved avatar methods to be private as only called by user

refactor avatar settings

create partial instead of helper

fix permalink