Code style
Test with Rails 4+
Fix tests
Release 1.4.0