Dynamically switch Capybara.javascript_driver depending on requirement

This appears to cut about 4 minutes off total CI time as well as not popping Firefox windows for most tests locally.

It'd be great if we could get a handle on the window handle API for poltergeist/phantomjs so that we can have all tests be able to run on either selenium or poltergeist at will.