Using html5 file api to upload avatars. Enhancement #137

Also deleted console.log lines