Expose election state transition endpoint
@DSASanFrancisco/portal-members
This change introduces the /election/<election_id>/state/<transition>
endpoint for modifying the state of an election. The tests have been updated to cover using the new endpoint and it's error responses. Some bug fixes and modifications were required in ElectionService
and ElectionRepo
to support this functionality and handle the edge cases gracefully.