Dependency Graph: refactoring to move private functions to the private header,
and add more documentation about the public functions. Also removed unused graph
traversal code and other minor unused functions.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54887 954f8c5b-7b00-dc11-b283-0030488c597c