Fixed half of the failing integration tests

Calls to bbbot-ruby and other things were making most of the tests fail. This
general problems were fixed, but some of the features are failing.

Updated capybara and related gems to their latest versions.