Add special constructors for Organizations and Environments.  The Org constructor will go into a specified :initial-env and link it back to the org being constructed.  Also updated Uniqueable to update both names at the same time (the org's name, and the (-> org :initial-env :org :name).  Do a similar thing for Environments, where we link the environment to Library if no :prior is given.  Remove chained-env since the constructor makes it obsolete.  Update all references.
Fix forward declaration
Remove all reference to System Templates which are being removed from Katello
Forgot to remove templates
Remove all references to Template record also (including 2 permission tests that test Template permissions)
Merge pull request #631 from weissjeffm/nuke-system-templates

Remove all reference to System Templates which are being removed from Ka...
Simplifying Org/Env creation for system tests.
Added a couple of functions to check whether a custom keyname or value is present. It is generic enough to be used with Organizations, Systems, and eventually Subscriptions.
Merge pull request #634 from omaciel/customfn

Added a couple of functions to check whether a custom keyname or value i...
Adding the functionality to test cancelling repodiscovery.
Be able to recursively create entites even if they contain circular references.  Fixes #632
Merge pull request #633 from omaciel/builtinenv

Simplifying Org/Env creation for system tests.
Merge pull request #641 from blrm/repo-cancel

Adding the functionality to test cancelling repodiscovery.
Removed the is-katello? check
Merge branch 'master' into gpgkey-postsync