Added support for ranges between element and text nodes when generating range CFIs.

Fixes #10