Major refactoring/formatting. Fixed issue with WebDriver cookies.
Merge pull request #5 from ikkisoft/master

Major refactoring/formatting. Fixed issue with WebDriver cookies.