Display error messages at the top of the form

This shows all errors as a summary at the top, but doesn't yet
highlight fields. It also doesn't fill in the submitted values when
redisplaying the form.
Return error messages mapped to their fields