base64-encode the content of the data-value attribute, if the type is wysihtml. This fixes a problem where links generated by wysihtml5 breaks the html. see https://github.com/werein/x-editable-rails/issues/42
fix base64 decoding for safari (remove whitespaces)
fix base64 decoding of unicode
Merge branch 'pull-request/wysihtml5-encode-html'