Running tests on BrowserStack using groovy. Initially forked from https://github.com/djangofan/selenium2-groovy