Change HTTP status to 422 if submitting comment fails
In some cases the notes endpoint sends an HTTP status of 200 for a response like this:
{"commands_changes":null,"valid":false,"errors":{"project":["can't be blank","does not match noteable project"]}}
If an error occurred, we should set the HTTP status accordingly (in this case probably 422).