Support both Rails 4 and Rails 3
Test with Rails 4 on Travis-ci
Refactored form builder specs to use rspec-html-matchers