Add a preview for the selected entity in WYSIWYG

d.o issue: https://drupal.org/node/2280547
Actually meant what if someone uses the data attributes inside an `<img>` tag, the text filter here removed that tag. I think we should restrict elements to just div, p and span. I don't see any need for other elements to be used.