Refactor the plugin dependency resolution into its own class
Authored by: hotzst 2009-09-24
Parent: [r2426]
Child: [r2428]