move getTodoComments to the new tree
move helper functions inside the scope of the main function
respond to code review comments
respond to code review comments
Merge pull request #689 from Microsoft/todoComments

Migrate getTodoComments to use the new tree