Add 'has-value' class toggling to wysiwyg editor

rebased https://github.com/metalabdesign/wysihtml5/pull/9