implemented avatar image upload/crop with Paperclip, added profile_type to User model, added some tests for User model, converted some views to slim