First try to close selfclosing tags in html5 automatically

This closes `img` and `input` tags correctly for html5. It's my first try, what do you think about it? In theory more tags could be added to ` $_selfClosingTags` and it should be enough.

It could also be adopted to self close tags automatically in html4 (with `/>`).