Lazy start the session. Refs #179
Fixed bad state persistence
Fix default state value
Fix coding standards
Fix code convention (PSR2)
Merge pull request #183 from gquemener/fix-session-id

Lazy start the session. Refs #179