Added support for html_id to formgroup reimplementation.
Added support for collecting media to formgroups.