Added Capybara feature tests for query interface.

1. Used capybara-webkit as the js driver, because the selenium-webdriver
was causingthe first test to fail (tests run randomly, was always the
first test executed that failed).