Initial Rails 4 support 

I made some changes and included FriendlyId fix.

https://travis-ci.org/refinery/refinerycms-settings/builds/12972541

That one job is screwed by DatabaseCleaner Mysql known error. Maybe update of database_cleaner in refinery-testing can solve it.

/cc @parndt @ugisozols @tboerger