Org tests UI: converted org tests to factory
Merge branch 'master' into convert-orgtests-factory

Conflicts:
	tests/foreman/ui/test_org.py
Re-enabling Organization deletion tests via CLI.

Since most (if not all) Bugzilla issues related to org deletion are now
closed or ready for testing, it is safe to re-enable the CLI tests that
we had disabled before.

The Bugzilla issues are:

* https://bugzilla.redhat.com/show_bug.cgi?id=1061658
* https://bugzilla.redhat.com/show_bug.cgi?id=1076568
* https://bugzilla.redhat.com/show_bug.cgi?id=1096241
* https://bugzilla.redhat.com/show_bug.cgi?id=1100311
* https://bugzilla.redhat.com/show_bug.cgi?id=1120336

The modified tests were run against build:
 * Satellite-6.0.4-RHEL-6-20140730.0

```bash
$ nosetests -c robottelo.properties tests/foreman/cli/test_org.py:TestOrg.test_bugzilla_1076568_1 tests/foreman/cli/test_org.py:TestOrg.test_bugzilla_1076568_2 tests/foreman/cli/test_org.py:TestOrg.test_bugzilla_1076568_3 tests/foreman/cli/test_org.py:TestOrg.test_bugzilla_1061658
nose.config: INFO: Ignoring files matching ['^\\.', '^_', '^setup\\.py$']
@test: Delete organization by name ... ok
@test: Delete organization by ID ... ok
@test: Delete organization by label ... ok
@Test: Organization delete fails with 500 Server / Candlepin 404 error ... ok

Ran 4 tests in 106.166s

OK
$ nosetests -c robottelo.properties -m test_positive_delete_1 tests/foreman/cli/test_org.py
nose.config: INFO: Ignoring files matching ['^\\.', '^_', '^setup\\.py$']
@test: Create organization with valid values then delete it ... ok
@test: Create organization with valid values then delete it ... ok
@test: Create organization with valid values then delete it ... ok
@test: Create organization with valid values then delete it ... ok

Ran 4 tests in 106.037s

OK
$ nosetests -c robottelo.properties -m test_positive_delete_2 tests/foreman/cli/test_org.py
nose.config: INFO: Ignoring files matching ['^\\.', '^_', '^setup\\.py$']
@test: Create organization with valid values then delete it ... ok
@test: Create organization with valid values then delete it ... ok
@test: Create organization with valid values then delete it ... ok
@test: Create organization with valid values then delete it ... ok

Ran 4 tests in 111.509s

OK
$ nosetests -c robottelo.properties -m test_positive_delete_3 tests/foreman/cli/test_org.py
nose.config: INFO: Ignoring files matching ['^\\.', '^_', '^setup\\.py$']
@test: Create organization with valid values then delete it ... ok
@test: Create organization with valid values then delete it ... ok
@test: Create organization with valid values then delete it ... ok
@test: Create organization with valid values then delete it ... ok

Ran 4 tests in 111.231s

OK
```
Merge pull request #1112 from omaciel/re-enable-org-deletion-cli

Re-enabling Organization deletion tests via CLI.
Updated ActivationKey API v2 Tests.

Noticed that ``test_positive_create_3`` was failing because of some
apparent changes done to the POST method. Before, if I tried to create
an activationkey setting ``unlimited_content_hosts`` to ``True`` and
``max_content_hosts`` to a random value, valid or invalid, the
activationkey was created and ``max_content_hosts`` was ignored and set
to ``None`` (the test checked that the key was created and that
``max_content_hosts`` was ``None``).

Now it looks that if you try to do the same thing, you get a ``422``
error due to ``max_content_hosts`` being automatically set to ``Nil``.

```pycon
In[1] attrs =
entities.ActivationKey().create(
    fields={u'unlimited_content_hosts': True, u'max_content_hosts': -3})

FactoryError: Error encountered while POSTing to
https://qetello02.usersys.redhat.com/katello/api/v2/activation_keys.
Error received: {u'max_content_hosts': [u'cannot be nil']}
```

I have changed this test to be a negative test and updated the
assertions appropriately.
Merge pull request #1113 from omaciel/fix-activationkey-api-v2

Updated ActivationKey API v2 Tests.
The DELETE API returns different statuses.

Noticed that the DELETE API returns different http status codes
depending on the entity being deleted and whether the task is
sync/async. For the time being, I have updated the ``delete`` test for
all entities to handle all variations.

```bash
$ nosetests -c robottelo.properties -m test_delete tests/foreman/api/test_multiple_paths.py
nose.config: INFO: Ignoring files matching ['^\\.', '^_', '^setup\\.py$']
@Test Create an entity, fetch it, DELETE it, and fetch it again. ... ok
@Test Create an entity, fetch it, DELETE it, and fetch it again. ... ok
@Test Create an entity, fetch it, DELETE it, and fetch it again. ... ok
@Test Create an entity, fetch it, DELETE it, and fetch it again. ... ok
@Test Create an entity, fetch it, DELETE it, and fetch it again. ... ok
@Test Create an entity, fetch it, DELETE it, and fetch it again. ... ok
@Test Create an entity, fetch it, DELETE it, and fetch it again. ... ok
@Test Create an entity, fetch it, DELETE it, and fetch it again. ... ok
@Test Create an entity, fetch it, DELETE it, and fetch it again. ... ok

----------------------------------------------------------------------
XML: /Users/omaciel/hacking/robottelo/foreman-results.xml
----------------------------------------------------------------------
Ran 9 tests in 32.727s

OK
```
Added environment delete test
Merge pull request #1114 from omaciel/delete-api

The DELETE API returns different statuses.
Fixed the environment delete test
Fixed the environment delete test
Fixed the environment delete test
Merge pull request #1115 from tkolhar/test_cli

Added environment delete test
test_org UI: fix the factory imports
Merge pull request #1110 from kbidarkar/convert-orgtests-factory

Org tests UI: converted org tests to factory
Update activation key cli factory
Make cli factory module raise specific exception

Cli factories now rises CLIFactoryError instead of a generic Exception
Update make_content_host cli factory

Update the lifecycle environments options for the factory.
Update lifecycle environment option

Update the option for cli content hosts tests.
Fix cli test_add_syncplan_1 test for product