First draft of tokens
Added safeParam function
Refactored duplication in error handlers
Fixed client's POST request with a move
Added 'sit' functionality to client
Added request-token functionality
Sit button now actually asks for a token
Removed erroneous status setting
Token is now saved in client's localStorage
Removed dead code and renamed playerCount field
Fixed some minor issues with the PR
Merge pull request #54 from bananu7/tokens

Token-based faction reservations. Closes #2