Use right quantity for subscription in CLI smoke

Use 1 instead of max available quantity because "only pools with
multi-entitlement product subscriptions can be added to the activation
key with a quantity greater than one."
Merge pull request #1590 from elyezer/update-cli-smoke

Use right quantity for subscription in CLI smoke
Fix timeout issues related to UI sync.
Merge pull request #1592 from kbidarkar/fix-timeouts

Fix timeout issues related to UI sync.
Fixes test_positive_create_2  testcase for false-positives.
set_context function in ui/factory no longer depends on "@" char.

We now fetch both organization and location separately, hence no
longer we need to deal with "@" char. This is undesired as org and
location both could contains "@" char and complicate things.

Also no need to explicitly set the navigation again when creating
second organization, ui/factory should take care of it when the
force_context=True.
Merge pull request #1593 from kbidarkar/fix-false-positives

Fixes test_positive_create_2  testcase for false-positives.
Merge pull request #1591 from kbidarkar/fix-set_context

set_context function in ui/factory no longer depends on "@" char.
Repositories to handle new checksum-type attribute.

Updated locators, factory, repository modules for the support.
Updated the CRUD functions for the support.

Also added two new tests `test_create_repo_5` and
`test_positive_update_3` to the `ui/test_repository` module.
Merge pull request #1584 from kbidarkar/add-checksum-support

Repositories to handle new checksum-type attribute.
Create new Products for every Docker repo.

I noticed that when I ran both tests that created a custom repository
with Docker content, only the first test passed. Turns out that the way
the test suite for Docker tests (API) was created attempted to re-use a
single custom product (PROD1) and then added a custom repository named
'wordpress'. As repository names are unique within a custom product, the
second time a 'wordpress' custom repository was created the test would
fail.

I have updated the existing API tests so that a new custom product is
created for every test that creates Docker-based repositories.

Both tests pass.
Merge pull request #1594 from omaciel/fix-api-docker

Create new Products for every Docker repo.
API Content Views with yum repo test cases - issue #1265
Merge pull request #1581 from alda519/api-cv-yum

API Content Views with yum repo test cases - issue #1265
Refactor CLI factories

Refactor factories to reduce duplicated code regarding merging the
default options with provided options.

Factories now returns the data returned by the CLI object create method
instead of updating the already provided options. This avoid false
positives for options that have been provided but are not listed by the
info output.

Also, update content host factory
Merge pull request #1597 from elyezer/cli-factory-refactor

Refactor CLI factories
Skip known-failing test (see BZ 1154803)

Issuing a PUT request to the /users/:id API path will fail if the request
includes the `auth_source_id` parameter. The API doc states that this
parameter is acceptable, but the application returns an HTTP 500 error with this
message:

    auth_source_id is not allowed as nested parameter for users. Allowed
    parameters are auth_source_ldap_id, role_id, location_id, organization_id,
    usergroup_id

Test results:

    $ nosetests tests/foreman/api/test_multiple_paths.py -m 'test_put_status_code_.*_User'
    S
    ----------------------------------------------------------------------
    Ran 1 test in 0.636s

    OK (SKIP=1)
Drop method sleep_for_seconds

Method `sleep_for_seconds` is used in only one place. It causes the current
thread to sleep for somewhere between N to N + 1 seconds, inclusive, and this
behaviour seems to serve no purpose where it is used. Drop the method and just
call `time.sleep` as needed instead.
Merge pull request #1598 from Ichimonji10/cli-refactor

Drop method sleep_for_seconds
Merge pull request #1596 from Ichimonji10/bz-1154803

Skip known-failing test (see BZ 1154803)