Added reference functions to the webdriver for getting window names. Required for the call to the Selenium 2 driver to work because otherwise it gives an undeclared function error. Related to: https://github.com/Behat/Mink/pull/341