Remove unused function and value

declared didn't have any effect on GetFreeIdentifierUsages and
ListNodes wasn't used.
Rewrite FindNodesWithRange

The code now looks at ranges and recurses through the tree, rather
than looking through every node.
Rewrite FindNodesAroundRange

Same change as the one to FindNodesWithRange. This allows me to
remove the ListNodes function.