Add client-side validation for criterion prompt
Merge pull request #599 from edx/will/criterion-prompt-validation

Add client-side validation for criterion prompt