Print end tag for self-closing tag

When we output HTML5 and we encounter a self-closing tag we have to
output an end tag to be standard conform.

This fixes issue #111.
Merge remote-tracking branch 'ermshiperete/issue111-1' into merge-patches