Added directory structure for unit tests
Added more tests for user
Fixed typo in README.md, minor syntax issue and added TODOs
Fixed issues from review and added TODO for missing test cases
Merge pull request #175 from cvan/unit-tests

Unit Test for lib/user.js
Added gamesByStatus:pending
fixed queue position retrieval, updated gameByStatus sets on game moderation
Fixed minor issues
added an indent
Merge pull request #170 from CharlesChong/queue-position(issue#162)

Queue position(issue#162)
Fail on all errors in pre-fill script (was silently failing on validation errors)
- Swapped node-restify-validation with our forked version that supports body validation and custom error handling in package.json
- Use 'bodyValidation' in the game submission endpoint to handle validation of game data
- Implemented a custom validation error handler that sends back a response more consistent with our other error responses
Removed unused import
Use 'validation' instead of 'bodyValidation' for validating POST / PUT request bodies, since restify's bodyParser plugin maps parsed body fields to params (which is what 'validation' validates). This also alleviates the need for a 'bodyValidation' field in the first place. See #164 for details.
Use node-restify-validation for feedback endpoint
Fixed rebase error
Merge pull request #161 from cvan/body-validation

Use node-restify-validation for body validation