Remove some Ruby 1.8-specific dependencies.
Upgrade capybara from 1.1 series to 2.2 series.
Upgrade uglifier from 2.2 series to 2.3 series.