Specifying Capybara ~> 2.4.0 as a development dependency.

This fixes an incompatibility error that's preventing Travis CI from
running tests.