Check for <img> alongside textContent when detecting empty nodes

Rebased https://github.com/metalabdesign/wysihtml5/pull/70