Upgraded Selenium WebDriver to latest version

upgraded to Selenium WebDriver 2.31.2 as FireFox and Chrome tests stopped working after browser updates.