Ignore IMGs when stripping empty inlines.

When cleaning up pasted content, we remove any empty inline tags. However, we
should not be stripping <img> tags (which are of course both inline and empty).
Log error if addEventListener called with null fn