Session tests and minor fix

No tests for windows.
No session side-effects.

A few blocks I was not able to reach,
cookie_lifetime and entropy_file is atm missing cases in Session::setOption.
I prefer `testGetOptionThrowsDomainExceptionIfRequstedOptionDoesNotExist`.