fixes legends, required message position and error messages, closes https://github.com/kobotoolbox/enketo-express/issues/99