Rails 4

Fixes #52 

All specs pass; looks good to go. Haven't made the switch to strong params due to the amount of refactoring that would need to be done for existing and future changes (for the things that are in progress).