Tidy code
Update cookie class
Change session timeout back to how it used to be
Fixes for session starting and handling
Better session handling in Symphony class
add back to session class
add handler back to session
Fixes for xsrf
tidy code