Improve support for SVG. Fix issue #802 - SVGs without width/height
attributes. Also add support for SVG sanitizing via customizable
whitelist.