Travis - Moving code linting to the same job.

The Ruby linter was previously a part of the minitest job but now
that we have JS linting, makes sense to put all linting together
and keep that separate from unit tests.
969216 - retrieve org by label when org identified in pool details

When katello gets a pool from candlepin, the 'owner key' is
equivalent to the organization label.  This change is to
properly retrieve org by label vs name.
Technical Debt - Removing old JavaScript from previous Foreman integration.
915900 - Systems - Events History - Clear search does not work

Elastic search query was wrong and was not able to load system_event.js due to which the right results were not pulled.So we updated the type of task_owner_type in the search query which fixed the issue.
Merge pull request #2390 from pgodhani/bugfix

915900 - Systems - Events History - Clear search does not work
default_info - converting apply to sync

- db migration adding a new 'default' column for custom_info
- updating the schema
- re-wording from 'apply' to 'sync'
- fixing spec tests

default_info "apply" takes the default_info keys that are specified on
an org, and syncs them with all the systems (or distributors) under that
org. this includes adding custom_info but also removing custom_info
(that may have values attached to it).
966949 - properly convert finished state for sync history

also fixes size going away
969001 - requiring org when calling Product.find_by_cp_id

Products do not have a unique cp_id, as redhat products are
singular within candlepin
966027 - hiding ability to refresh a manifest if its not supported
726401: Systems page - needs better error behavior when tomcat6 is not running

ECONNREFUSED error shows up when tomcat6 is not running.So we handled that exception by throwing user-friendly error.In order for it to work we had to handle exception in http_resource.rb and defined a custom exception - ConnectionRefusedException in errors.rb.
Merge pull request #2404 from komidore64/default-info-sync

default_info - converting apply to sync
918093 - update ES index for packages and other document types

When indexing packages, do not index the 'changelog', 'files' and
'filelist' that is retrieved from pulp.  These fields were already
being omitted when packages were indexed as part of a repo
promotion; however, when individual packages were selected they
were not omitted.

Also, for all object types (e.g. errata, package, package group..etc),
split the creation of the index and the importing of objects in
to 2 separate actions.  The reason for this change is that with
the current version of elastic search, attempting to create an
index that already exists, will generate an error.  Previously,
when that error occured, it would skip the import that followed.
Merge pull request #2415 from jlsherrill/stop_refresh

966027 - hiding ability to refresh a manifest if its not supported
970644 - Allows passing organization name with a dot in the path
to providers API.

The default Rails routing returns 404s when dynamic URL segements
contain a dot. This fix adds a constraint to the providers list route
to allow Rails to pass through the organization_id and allow the
controller to handle processing. This is required if an organization
with a dot in the name is created and a user wants to list the providers
from that organization.
Merge pull request #2413 from jlsherrill/cp_id

969001 - requiring org when calling Product.find_by_cp_id
Merge pull request #2412 from pgodhani/tomcat6

726401: Systems page - needs better error behavior when tomcat6 is not r...
Merge pull request #2409 from bbuckingham/969216

969216 - retrieve org by label when org identified in pool details
970617 - fix content promotion/deletion of packages and errata

This commit contains a couple of changes to fix the
promotion and deletion of content packages and errata:

- whenever performing a promote/delete of a list of
  packages or errata, 'wait' for the pulp task to complete
  before updating the elastic search index.  If this is not
  done, there is a race condition in which we could update
  the search index before the operation is complete, resulting
  in incorrect data (e.g. repoids)

- when deleting errata, use the 'unit_id' in the request
  to pulp to perform the unassociate; otherwise, the errata
  will not get removed from the repo.
969603 - changesets - list views based on environment

This commit fixes a regression on the changesets page where
the content views listed for an environment would actually
include all views regardless of environment.  This could include
listing multiple views (if multiple versions were available
in different environments).
968207 - fixing cli/api systems package list