#177 add user profile photo
#177 uncomment needed code
#177 add converting to jpeg and resize if needed + show photo on user/view
#177 Code review
Merge branch 'issue_177' into develop

Conflicts:
	common/models/User.php