Test against Ruby 2.2 on Travis.

* Add 4.2 stable to matrix.
* Exclude test against Ruby 2.2 for Rails 3.2.
Merge pull request #3389 from JuanitoFatas/patch/travis-ruby-2-2

Test against Ruby 2.2 on Travis.