fixes #7273 - sync puppet and rpm content together

previously there was a task spawned to sync rpm content to the capsule
when puppet content sync to the capsule was added, it was not added in
this 2nd task.  This commit moves puppet syncing to that 2nd, spanwed task.
Fixes #7282: Use apipie packages provided by Foreman repos.
Fixes #6773 - Host inherits Content Source from Hostgroup
Fixes #7341: Adds script to generate contributors with initial list.
Fixes #6942,bz1122924 - subscription reindex

Reindex subscriptions as part of product creation and destruction.
Merge pull request #4532 from dustint-rh/subs_list_not_reindexing

Fixes #6942,bz1122924 - subscription reindex
Fixes #7307 - Refactor errata/package/package group APIs
refs #6370 - automatically associate OS's with templates
Fixes #6287: Remove V1 API entirely.

This commit removes the existence of the V1 API by moving some controllers
to pure V2 API controllers and removing other, unused API controllers
and their corresponding tests.
Fixes #7358/BZ1138411: correct empty org message logic on dashboard.

The dashboard was not displaying in the case of not having a default
org selected if you were admin.  This is because we wanted to prevent
showing the error message to admins in #4611 and because of spacing
being important in haml we ended up not showing anything at all. This
commit fixes the dashboard display in the case of an admin without any
default organizations.

http://projects.theforeman.org/issues/7358
https://bugzilla.redhat.com/show_bug.cgi?id=1138411
Merge pull request #4547 from stbenjam/6370

refs #6370 - automatically associate OS's with templates
Merge pull request #4630 from ehelms/fixes-6287

Fixes #6287: Remove V1 API entirely.
Merge pull request #4629 from daviddavis/temp/20140829192941

Fixes #7307 - Refactor errata/package/package group APIs
Merge pull request #4644 from waldenraines/7358

Fixes #7358/BZ1138411: correct empty org message logic on dashboard.
Fixes #5229 - Messages for empty tables in Bastion
Merge pull request #4636 from ehelms/fixes-7341

Fixes #7341: Adds script to generate contributors with initial list.
Merge pull request #4617 from jlsherrill/7273

fixes #7273 - capsule sync puppet and rpm content together
Fixes #7389: Prevent undefined method error from root controller.

This error was introduced while removing the V1 API and leads to
and undefined method error whenever RHSM attempts to get a list
of routes.
Fixes #7390: Change global variable $/ to $INPUT_RECORD_SEPARATOR.
Merge pull request #4645 from ehelms/fixes-7390

Fixes #7390: Change global variable $/ to $INPUT_RECORD_SEPARATOR.