Forms: support for HTML in legend

Simple patch to add/fix support for HTML inside legend tag created by DefaultFormRenderer.

Although manual rendering would be enough, it's sometimes an overkill. Moreover in some places passing HTML object into forms works (for example description) so this patch lowers non-expectancy of framework behaviour.

Thanks