add message output to formulaequationinput.html (capa)

This is needed for hints to be able to be displayed, for formulaequationinput.

See analogous change in https://github.com/edx/edx-platform/pull/687