Added a patch for the wysihtml5 bug

Hopefully fixes the "cannot read property document of null" bug. It is
too difficult to reproduce to know for sure.
Merge pull request #360 from reciprocity/feature/wysihtml5_error

Added a runtime patch for wysihtml5 that should hopefully fix the "cannot read property document of null" bug