auto search UI: Fixes the org and location auto search testcases
fix computeresource UI: compute resource accepts description and not desc
fixed all tests that sets the activation-key limit for content-hosts
Blocked role test with bz
updated long string line breaks under locators
Base UI: Fixes for logging and add UINoSuchElementError class to avoid raising generic exceptions
base UI: fix travis issues.
org-tests UI: Fixed template tests
Merge pull request #1075 from kbidarkar/automation-fixes

Automation fixes for auto search org and location, fix for computeresource tests.
Improve HTTP PUT API tests, reorganize code

There are API tests that issue HTTP PUT requests and check the status code
returned by those HTTP requests. However, there are not tests which check
whether the just-updated entities were correctly updated. Add tests of this kind.

Reorganize code. Move methods `test_post_and_get` and `test_put_and_get` into
their own test case. This is done so that the `longMessage` class variable can
be used. This variable allows good quality error messages to be written while
using a minimum of code.

Update the docstring for class `EntityTestCase`.

Add a new assertion to method `test_post_status_code` and update its docstring
accordingly.
Merge pull request #1068 from Ichimonji10/api-tests

Improve HTTP PUT API tests, reorganize code
Fix entity definition as per BZ 1122261

Also: improve the output of error messages in test case `LongMessageTestCase`.
Updated entities.ActivationKey attribute.

Realized that the API for ``entities.ActivationKey`` uses
``max_content_host`` to limit its usage and not ``usage_limit`` as it
was previously thought.
Added new ActivationKey tests for API v2.

Added several new ActivationKey automated tests using the API v2.

```bash
$ nosetests -c robottelo.properties tests/foreman/api/test_activationkey_v2.py
nose.config: INFO: Ignoring files matching ['^\\.', '^_', '^setup\\.py$']
@Test Create activationkey with limited content hosts but no limit set ... ok
@Test Create activationkey with limited content hosts but ... ok
@Test Create activationkey with limited content hosts but ... ok
@Test Create activationkey with limited content hosts but ... ok
@Test Create activationkey then update its max content hosts ... ok
@Test Create activationkey then update its max content hosts ... ok
@Test Create a plain vanilla activationkey ... ok
@Test Create an activationkey with limited content hosts ... ok
@Test Create an activationkey with limited content hosts ... ok
@Test Create activationkey with unlimited content hosts and set ... ok
@Test Create activationkey with unlimited content hosts and set ... ok
@Test Create activationkey with unlimited content hosts and set ... ok
@Test Create an activationkey providing the initial name. ... ok
@Test Create an activationkey providing the initial name. ... ok
@Test Create an activationkey providing the initial name. ... ok
@Test Create an activationkey providing the initial name. ... ok
@Test Create activationkey then update it to limited content hosts ... ok
@Test Create activationkey then update it to limited content hosts ... ok

----------------------------------------------------------------------
XML: ~/hacking/robottelo/foreman-results.xml
----------------------------------------------------------------------
Ran 18 tests in 68.013s

OK
```
Make factories respect entity kwargs.

Allow the following lines of code to act as expected:

    SomeEntity(name='foo').attributes()
    SomeEntity(name='foo').build()
    SomeEntity(name='foo').create()

Unfortunately, the value of `None` is not supported:

    SomeEntity(name=None).attributes()
    SomeEntity(name=None).build()
    SomeEntity(name=None).create()

See GitHub issue #1082 for more information.

Add tests for the following methods:

* `EntityFactoryMixin._factory_data`
* `Entity.get_values`
Fixed typo on docstring.
Wrapped all ``entity()create()`` with try/except.

As per feedback from Jeremy, I have wrapped all ``entity()create()``
calls with a try/except block, as well as formatted the arguments with
it.
Merge pull request #1089 from omaciel/activationkey-v2-api

Activationkey v2 api
Merge pull request #1085 from sghai/fix-test

fixed all tests that sets the activation-key limit
Merge pull request #1088 from Ichimonji10/minor-fixes

Fix entity definition as per BZ 1122261