added base64 decoding of uploaded images consistent with paperclip's format, allowing uplaoding images via json
Merge branch 'master' of https://github.com/SovietWinter/667-Group-F