Bug #1019690 - move system error displays to parent scope.
1002495 - Fixed a repo delete issue

Prior to this commit there was logic that said something along the lines
of 'Do not delete a RH repo unless its disabled'. Due to this when an org
was getting deleted, if there were any 'enabled' redhat repos in the org
there would be dangling repositories with nil references.
This commit adds an additional clause that says, "Allow deletion of the
redhat repo if org is getting deleted".
Merge pull request #3284 from parthaa/1002495

1002495 -  Fixed a repo deletion issue
Merge pull request #3275 from waldenraines/bug-1019690

Bug #1019690 - move system error displays to parent scope.
Fixes BZ 1024456 verify_ldap after refactoring in 5793cd2b
1013837 - add missing associations

and add tests to ensure that all associations are there and configured
properly to avoid FK issues
Merge pull request #3294 from pitr-ch/bug/1013837

Add missing associations causing FK issues
Merge pull request #3288 from ares/bug/1024456

Fix verify_ldap after refactoring in 5793cd2b