Patch add dependency checker

Adds support for installing related charms and setting dependencies via add unit. This can probably be extended into the main process routine to be used throughout.