More model input validation and JSON errors

Input validation for moduleModel and votingPeriodModel
Updates to courseModel
InputVerify - added verifyDate function
Model InputValidation + JSON bug fixes
Merge branch 'master' of https://github.com/da1rren/Group-A