Upgrade & fixes

* Rails updated to 4.1.1
* RMagick changed to Mini Magick
* CORS opened
* user can delete his own photos