Use newest selenium to be able to use Firefox for Webdriver.
Do not throw exception, if the directory or files are not exist during logout.

Fixes issues with stuck sessions.
Added rules values to be able to edit.

Several refactors, etc.