Refactored validation of poll form

- Moved all validation into a separate function (checkForErrors)
- Added check for at least two answers in MC
- Added check to ensure that no blank answers can be marked as correct
- Added check to ensure we have at least one answer marked as correct