Codeception: Add Phantomjs WebDriver and tests.

Add more of the bootstrap to unit tests.
Add logout to signing cept. 
Add more unit tests.
Add Jquery tests.