Add support for Firefox browser width and height.

Copied PhantomJS code to set webdriver width and height over to
FirefoxDriverFactory.