make dfs/bfs and getChildren optional

Folders to not use TocPointerNode so they do not have a tree structure
Merge pull request #102 from oerpub/atc-dfs-optional

Atc make dfs/bfs and getChildren optional (Should not affect gh-book)