Apache Forrest code fix (bug FOR-1156)

code fix
by
DC
(fixes bug FOR-1156)

:

Enabled the output html serializer to be configurable to either xhtml or html.