fixes #7627 - handle cases where this codte is ran outside of rails

When running katello ruby code outside of rails the Rails.root
is incorrectly set (katello-disconnected)
Fixes #7730,BZ1127090 - Activation key max host count can be set from finite number to infinite
Merge pull request #4690 from mccun934/20140929-0549

fixes #7627 - handle cases where this code is ran outside of rails
Merge pull request #4682 from adamruzicka/bz1127090-activation_key

Fixes #7730,BZ1127090 - Activation key max host count can be set from finite n...
Fixes #7243 - CVV promotion out of sequence

This prevents content view versions from being promoted out of sequence.
promotion of content view versions can be forced to be promoted out of
sequence by passing the force param.
Fixes #6543 - updt index on cp event bz1115602

This listens for entitlement events from candlepin and updates the specific
pool index instead of pulling all the subscription information each time
the user accesses the subscriptions page.

New gem dependency added: qpid_messaging
gem has dependency qpid-cpp-client-devel and qpid-cpp-client
rpm packages.
Merge pull request #4431 from dustint-rh/qpid_events_dynflow

Fixes #6543 - updt index on cp event bz1115602
Merge pull request #4608 from dustint-rh/in_sequence_promotion

Fixes #7243 - CVV promotion out of sequence