Upgrade to Rails 3.2

All tests pass

TODO
Fix link_to_function
Add Capybara integration testing