Remove unused #toRange method

This isn't used anywhere and is the only method in the repository which
makes direct use of W3C Range APIs on the document object. Removing this
coupling makes it easier to use this library with, for example,
Rangy[1].

[1]: https://github.com/timdown/rangy