Update gems and dependencies
Edit tests to comply with Capybara 2.1 syntax