Upgrade Padrino 0.12, ruby 2.1.0 and all gems. Refactor UploadImage