Refactor async dependency map builder into separate function so that it
can more easily be overridden by subclasses.
Merge pull request #219 from chuckdumont/master

Refactor async dependency map builder into separate function so that it