Move the Depend(ant|ency).get() method from using type to stage.
Move the Depend(ant|ency).get() method from using type to stage.

This change makes the get() methods accept either a stage (and return the ports
required for that stage) or, if no parameter is passed, return all the ports.

No part of the code currently uses the type (now stage) parameter so it has no
further impact on the code.

DragonSA/portbuilder,DragonSA/portbuilder