Update Rails to 4.1.3
Use partials

* Create partial for galleries#new and galleries#editforms
* Create partial for images#new and image#edit forms
* Create partial for images loop in galleries#show