Revert "Clean up TemplateTool.getDependencyList()"

This reverts commit d806bdae84fd3cdeb7d20bef6c6274c0a3ec87c0.
The test test_resolveBusinessTemplateListDependency
(testTemplateTool.TestTemplateTool) is failing. Please review
change/test, and commit again later once all tests work.