(#34) Refactored moderate.js to be cleaner and only match specific urls
(#34) Refactored moderate.js to be cleaner and only match specific urls
Merge branch 'master' of github.com:cvan/galaxy-api into moderateJS
(#34) Now updates status in database
Merge branch 'moderateJS'

Conflicts:
	views/game/moderate.js
(#34) Refactored and changed success response
(#35) Games should default to 'pending' status when created
(fixed #35) Changed to single quotes
(Fixed #34) Refactored with style changes
Added 500 error code on db error
Merge pull request #69 from rchreptyk/master

(#34) moderate.js now updates DB with new status
Merge pull request #90 from rchreptyk/iss35

(#35) Games should default to 'pending' status when created
Added an SSA verification plugin to restify that transforms the _user token, when present, to an email address, setting the _email param of the request object on success. If that step fails, it automatically returns a 403 bad_user response. This will help eliminate some boilerplate we've been using in pretty much every API endpoint.
Replaced all instances of `auth.verifySSA(_user)` with the new `_email` param outputted by the SSA verification plugin
Added documentation for SSA verification plugin, and fixed a potential security flaw by always setting the _email parameter
Style fixes
Style
Moved _email to a root-level property on request, so that there's no risk of having it set by callers of the API
Fixed a typo
Merged remote copy of auth-plugin to appease git so I can push the rebase with master