Fix gem dependencies so tests run under Ruby 1.9.2

* ActiveModel 4 doesn't support 1.9.2, so ActiveModel 3 must be
  installed instead.
* Guard depends on the listen gem. Listen 2 doesn't support 1.9.2
  either, so 1 must be installed instead.