reverting changes on master while preserving freeport code on its own branch.
Merge pull request #19 from oisinmulvihill/master

selecting the browser to use from SELENIUM_BROWSER env var.
I've discovered selenium server run from the jar is different to chromedriver2 service. I need to add the path /wd/hub when using selenium server on my linux jenkins build slave. I've added the env variable SELENIUM_URI which allows you to set protocol, host, port and path at once. If SELENIUM_URI is not defined it will fallback to SELENIUM_HOST and SELENIUM_PORT usage.
Merge pull request #20 from oisinmulvihill/master

Adding SELENIUM_URI to allow host, port and path to be set at once.
Caught a bug when using just selenium uri it would explode as host and port weren't defined.
Merge pull request #21 from oisinmulvihill/master

Caught a bug with last merge.