Add filter for html tags on legacy xhtml page templates

Use filters on opening and closing container and content elements
also on the legacy xhtml page templates. Xhtml mode should also have the ability to filter the container elements, this makes that feature complete

see #96