Added more generic Cycle.contains() method, fixed runtime error in findCircularDependencies when encountering a dependency not specified up-front while walking dependency graph