Rails upgrade to 3 2

* Upgraded from 3.0.6 to 3.2.15
* Moved `vendor/plugins` to `Gemfile`
* Fixed lots of deprecation warnings
* Fixed lots of upgrade errors
* Upgraded gems when appropriate and a handful of related fixes

I did not move `public/images,javascripts,stylesheets` into `assets`. Not sure if that's a requirement here.