Improved session and flash cookie encoding
Factored out the cookie data codec and provided tests
Merge pull request #613 from jroper/session-fix

Improved session and flash cookie encoding