Implement #513
Add simple session test
Use utils instead
Stop calling capitalize from the geddy global
Merge pull request #514 from mde/sessionToJSON

Session to json