Flatten Candidate model in Submission.
Only send webhook request if the webhook env var is set.

Closes #37.