Add Rails 4 support (and test both Rails 3 and 4 via appraisal)