Remove extra whitespace

- In order to match the markdown editor, remove
  all empty tags instead of just trailing ones.

Rebased https://github.com/metalabdesign/wysihtml5/pull/63