Rewrite DomUtils.getNodesInRange to improve performance

By changing how boundaries are being checked, iteration
performance is boosted quite significantly for text node
retrieval.

* Replace @returns with @return in affected files
Merge pull request #327 from peitschie/range-perf

Rewrite DomUtils.getNodesInRange to improve performance