Controllers to return JSON errors

Module + VotingPeriod controllers now returning JSON errors/success
messages.
VotingPeriod create and delete controllers removed