Support for capybara 2.3

I'm going to implement the support for capybara 2.3, keep the pull request open until it's finished :)