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.

Community reviewers welcomed!