feat($injector): add all method for getting providers and their dependencies

I'm using this method to generate a dependency graph with graphviz.
The code isn't portable and has no tests or documentation so I don't expect this to get merged.
However, I think it would be useful to add this type of functionality to angular.