Fixing error codes, improving logging.
Renaming helper function to respondWithForbidden.
Merge pull request #603 from christensenep/128-badge-issue-email-fixes

Improve logging and error responses in badge issuing webhooks