980523-user-env - always save user object in api update
ensuring library content is accessible by consumers

required updating the environment content in candlepin
and generating metadata in pulp

previously when refreshing a new CVV would be created and the old
one would be removed from the environment.  This would result in
the candlepin environment being deleted and the repos being deleted form
library as well as any repo bindings being lost in pulp.

This change makes it so that the content view version is created and
all repos are moved to it before the old version is removed from library.
Then when refresh_repos is called instead of operating on the repos within
the old version (that has been deleted), we operate on the versions within
the content view version itself
switch to a greater than or equals for createrepo.

hard version requirements are horrible in that they often will break
yum updates since newer versions are available
Merge pull request #2588 from mccun934/fix-createrepo-requires

switch to a greater than or equals for createrepo.
Merge pull request #2583 from thomasmckay/980523-user-env

980523-user-env - always save user object in api update
981311 - fix nested constraints with match routes

Due to bug in Rails, this code:

    scope :module => :v2, :constraints => ApiVersionConstraint.new(:version => 2) do
      match '/systems' => 'systems#activate', :via => :post, :constraints => RegisterWithActivationKeyContraint.new
    end

causes the version 2 of systems#activate to be used, even the version
2 is no specified in headers (the nested constraints are not combined
when using with match.

This code works as expected:

    scope :module => :v2, :constraints => ApiVersionConstraint.new(:version => 2) do
      scope :constraints => RegisterWithActivationKeyContraint.new do
        match '/systems' => 'systems#activate', :via => :post
      end
    end
Merge pull request #2590 from iNecas/bz/981311

981311 - fix nested constraints with match routes
Merge pull request #2495 from jlsherrill/cp_content

 ensuring library content is accessible by consumers
Stop using structure.sql due to #2592
Update schema.rb
Merge pull request #2593 from daviddavis/schema-drop

Stop using structure.sql
Removing structure.sql from katello.spec
Merge pull request #2595 from daviddavis/temp/1373056705

Removing structure.sql from katello.spec
Merge pull request #2594 from jlsherrill/keys

fixing issue with foreign key constraints causing fixtures to fail to load
fixing issue with foreign key constraints causing fixtures to fail to load
rerunning glue tests with repo_test having order locked

hopefully this will resolve the following intermittant error:
test_has_package?(GluePulpRepoRequiresSyncTest) [/home/travis/build/Katello/katello/test/glue/pulp/repository_test.rb:229]
Merge pull request #2596 from jlsherrill/test-fix

rerunning glue tests with repo_test having order locked
Reset DB: Fixing call to migrate
Merge pull request #2598 from daviddavis/temp/1373200924

Reset DB: Fixing call to migrate in katello-reset-dbs
Merge branch 'master' into delete-legacy-promotion

Conflicts:
	app/models/content_view.rb
	app/models/repository.rb
	db/structure.sql
	test/fixtures/vcr_cassettes/glue_candlepin_consumer.yml
	test/fixtures/vcr_cassettes/glue_candlepin_owner.yml
	test/fixtures/vcr_cassettes/glue_candlepin_provider.yml
	test/fixtures/vcr_cassettes/glue_pulp_consumer.yml
	test/fixtures/vcr_cassettes/glue_pulp_consumer_group.yml
	test/fixtures/vcr_cassettes/glue_pulp_distribution.yml
	test/fixtures/vcr_cassettes/glue_pulp_errata.yml
	test/fixtures/vcr_cassettes/glue_pulp_hidden_user.yml
	test/fixtures/vcr_cassettes/glue_pulp_package.yml
	test/fixtures/vcr_cassettes/glue_pulp_repo.yml
	test/fixtures/vcr_cassettes/glue_pulp_repo_helper.yml
	test/fixtures/vcr_cassettes/glue_pulp_repo_sync_schedule.yml
	test/fixtures/vcr_cassettes/glue_pulp_repo_sync_status.yml
	test/fixtures/vcr_cassettes/glue_pulp_repo_tasks.yml
	test/fixtures/vcr_cassettes/glue_pulp_repo_units.yml
	test/fixtures/vcr_cassettes/glue_pulp_user.yml
	test/fixtures/vcr_cassettes/pulp_user_exception_raised.yml
	test/fixtures/vcr_cassettes/pulp_user_setup.yml
	test/fixtures/vcr_cassettes/support/candlepin/distributor.yml
	test/fixtures/vcr_cassettes/support/candlepin/distributor_delete.yml
	test/fixtures/vcr_cassettes/support/candlepin/organization.yml
	test/fixtures/vcr_cassettes/support/candlepin/system.yml
	test/fixtures/vcr_cassettes/support/candlepin/system_delete.yml
	test/fixtures/vcr_cassettes/support/consumer.yml
	test/fixtures/vcr_cassettes/support/repository.yml
	test/fixtures/vcr_cassettes/task_support.yml