use DependencyManagementKey for dep comparison, in TestRemovalModder. Also, make scope check a little cleaner. Finally, check the BOM for a managed dep that may have a scope attached to it as well.