Simplify range getFormat getText impelementations

Remove dead code including all of LeafIterator
simplify range.getLines
refactor finding lines
dont have two algorithms for same function
fix doc tests
fix doc tests
add print friendly delta check
Add tests for leaf
do not hardcode tag names
describe missing line/document tests