Sanitizer with white/black list of elements/attributes

Update to the HTML sanitizer. This version uses blacklisting and whitelisting of elements/attributes to make it more flexible if they need to be added/removed later.

The style element sanitizer is planned (if needed) but still not added yet. Currently all styles will be stripped out.

This is somewhat inspired from the Universal feed parser's HTML sanitizer.