Add a preview for the selected entity in WYSIWYG

d.o issue: https://drupal.org/node/2280547
Testes, this does not fails when entity-id is used. Not sure on how requiredContent is used because seems like that attribute is not respected by the widget.