The Big Rails 3

This is ready to begin reviewing, but for sure will undergo some further rebasing, squashing, and reordering to make the commits as concise as possible. In my ideal world, each commit migrates one big component at a time, updating tests and such in the same commit as the relevant app code change.

Outstanding issues:
- [ ] Autosuggest for groups / classes is broken (may require jQuery-UJS work)
- [ ] Graphs are removed, need to be added back with jqPlot or similar. http://www.jqplot.com/tests/bar-charts.php

Community reviewers welcomed!