Add a bunch of HTML tags to the whitelist

Notably, this includes <h[1-6]> and a number of flow-level formatting
tags.
Allow BIDI tags and attributes
Merge pull request #32 from twm/keep-headings

Keep headings