use alternative thread monkey patch

this approach has the advantage of working with spork. 
it is taken from http://www.opinionatedprogrammer.com/2011/02/capybara-and-selenium-with-rspec-and-rails-3/#comment-441060846