Updated rangy to the version used in wysihtml5x.
Add test for #82