Add DEBUG logging if debug is enabled.
Use file backend or memcached if it's enabled.
Fix typo
Another typo
Merge pull request #4 from YorikSar/master

Fix typos, add logging and session settings.