CB-6140 Don't allow deletion of platform dependencies

plugman dependency check will ignore platform/dependency when removing an
installed plugin, which will result in platform level dependencies is
uninstalled improperly.

github: close #38