Update syntax to be compatible with Rails 4

This clears up all the deprecation warnings under Rails 4.  It is not backwards compatible with Rails 3.  I don't believe there is syntax for these operations that works in both.  So for backwards compatibility we'd have to wrap everything if "if rails >= 4 else end" blocks and that seemed horrible.  Given the otherwise slow pace of changes it seems reasonable to just tell Rails 3 folks to stay on the last released gem.