Bug fix and performance improvements in the dependency graph.

Details:
* depgraph now preserves the order of dependencies inside a single file.
* A small performance improvement in the dependency graph.
* Updates README to include quailified function calls.