Refactor avatar image to recieve options

* Avatar now can recieve an option array
that can expecify the size of the avatar
to display.
Make use of the content_tag helper
Add test for flash messages

* test if the flash messages are
being displayed on failure/success
of signup action.