Ensures that dependencies have at least as high priority as dependents
Removes duplicate loops over deps in priority update
Merge pull request #444 from Houzz/recursive_priority

Ensures that dependencies have at least as high priority as dependents