Added instanceDependencies function in lazyInstMgr

This function lists all instances that one instance recursively depends upon
Removed extra whitespace

The whitespace accidently got added in the last commit
Changes in printDeps test module

Changed the function return type from int to void, replaced '\n' by std::endl. Minor modifications to other print statements
Removing self dependency of an instance

lazyInstMgr::instanceDependencies will now not add the instance being queried for in the generated dependency list.
Merge pull request #294 from hoiji09/master

Added a function to lazyInstMgr for recursively getting Instance Dependencies.