Return 'transitions' with response for election details by id.
@DSASanFrancisco/portal-members
This exposes possible election state transitions in the response /election?id=x
requests. Additionally, specifying an id for an election that doesn't exist now returns a 404.
Tests added covering the successful response, the 404 response, and the recently added 400 response.