fixes #2272 setup capybara and spork and modified test_helper for future...

... integration testing