Add client-side validation for criterion prompt

Client-side validation for the criterion prompt.

I think the styles will need to be tweaked a little bit.  Although the `openassessment_highlighted_field` class is being applied to the textbox, the border is being overridden by something else :(

@gradyward