Add method for dependency lookups for active roles
Check for dependencies when deactivating proposal

BNC#867353

Whenever a proposal is deactivated, check that none of the active roles
depend on it.
Merge pull request #1016 from bkutil/role_dependencies

Role dependencies