Rails 4 Branch

Changes that get impressionist working with Rails 4 (4.0.0.rc1).

Most of my notes are in this issue: https://github.com/charlotte-ruby/impressionist/issues/85

Cheers!