Return a proper response when asking to subscribe to an product with no
pool
Reference the PoolManager interface in EnvResource, not the impl
Update spec tests to reflect new return code
Remove PoolManager.entitleByProduct; only test code used it.
Merge pull request #75 from candlepin/jbowes/interface-reference

Reference the PoolManager interface in EnvResource, not the impl
Merge pull request #76 from candlepin/jbowes/rm-entitleByProduct

Remove PoolManager.entitleByProduct; only test code used it.
added support for updating of Content
Merge pull request #79 from witlessbird/content_updates

added support for updating of Content
fix checkstyle
Automatic commit of package [candlepin] release [0.7.12-1].
Merge pull request #72 from bcrochet/consumerjson

Return a proper response when asking to subscribe to an product with no
fix checkstyle
changed ContentResource#update to use contentId in the resource path
Merge pull request #80 from witlessbird/content-update-fix

changed ContentResource#update to use contentId in the resource path
Checkstyle fixes.
857918: Add quotes around the invalid service level
800145: Update pools across all owners on product import

Previously, upon importing an export file, if a product was modified,
we would regenerate the certificates of all entitlements that referenced
that product. We would then run a refreshPools on the owner that
imported the export. the refreshPools would adjust that owner's pools to
reflect the new product attributes, but not any other owners.

That was the intention, anyways. In reality, the code to look for
changed products compared the new forms of the products to the products
from the db, but only after it had already updated the db. Thus, the
products were never found to have changed, and no certs were
regenerated.

This patch fixes that up by comparing the new forms of the products with
the form as it is in the db, before storing the new form. Further, it
corrects the code to check for changes, catching more instances when the
products are different.

To refresh the pools referencing the affected products, but also ensure
that a pool that references two products, or a pool that is owned by the
importing owner is not refreshed multiple times, introduce a new
Refresher object that takes care of gathering up the objects we want to
trigger a refresh on (products, owners), then executes the pool
refreshes and entitlement regens without repeating anything.

The existing code to trigger a refresh by product was being overly broad
on what pools it would refresh (triggering for all pools for an owner
that had a single pool that referenced the product, rather than just the
referencing pools). This patch also narrows the focus down to just the
affected pools, and introduces a spec test to verify that.
Merge pull request #82 from candlepin/bkearney/857918

857918: Add quotes around the invalid service level
Merge pull request #83 from candlepin/jbowes/refresher

800145: Update pools across all owners on product import
Added candlepin.enable_cert_v3 config property.

This property will be used to determine if we should enable/disable
candlepins cert V3 functionality and fall back to old V1 certs.

Allowed spec tests to bypass the enable cert v3 config property.
The V3 spec tests were failing due to defaulting the
candlepin.enable_cert_v3 config property to false. Because there
was no way for a spec test to determine if V3 cert support was
disabled, a custom fact was added to test consumer so that the
config property could be overridden in our tests.

CP will check for that fact (system.testing) and if it exists,
CP will create certs as normal.

This should be removed once cert V3 support has been added elsewhere.