[#650] Client side questionId validation

Check that the question id matches /^[A-Za-z0-9_\-]*$/ before
submitting the question to the server. Uniqueness constraints will
have to be checked server side.