Fix #22, references to session changed to token
Change json responses to use lowercase, utilize `reason` field for 4xx responses
Fix tests for #22
Merge branch 'master' into refactor