Generate dependencies for the given namespace

It generates only the dependencies for the namespace, not the dependencies'
dependencies.
Generate dependencies recursively
Merge pull request #29 from fracek/dependencies

Generate dependencies for the given namespace