Basic upgrade to rails 4. Have not removed all deprecations.

* Remove extra stuff in assets folder.
* Remove double including jquery to prevent double confirmation
* Remove all deprecations related to :confirm in the view
* Move the 12factor gem to production because of logs showing up while
* running specs.
* The only deprecations left are the scopes.