Merge pull request #1474 from tkolhar/test_cli

"Added test for repository - upload content"
Replacing instances of orm.type.get_value() with fauxfactory methods. Also, resolving merge conflicts.
Changed string formatting, and minor fixes.
Minor change to import and usage in entities.py.
Merge pull request #1473 from JacobCallahan/temp

Replacing instances of orm.type.get_value() with fauxfactory methods.
Fix the `clone()` function call for better readability.
Fix path on Permission's entity search method

Entities path was updated to base/self instead of all/this and this was
missed for Permission entity because the relevant PR was open.
Merge pull request #1480 from elyezer/fix-permission-path

Fix path on Permission's entity search method
Fix for the UI boundary tests.

Boundary tests need a fixed length to test whether the entity
creation beyond 255 chars fails. It is here where we do require
an option to specify a fixed length.

so now unless we specify a length for the string it will continue
to use a random length for non-boundary tests.

Added sphinx directives
Merge pull request #1478 from tkolhar/test_cli

"Added test for activation key - add subscription"
Merge pull request #1479 from kbidarkar/fix-all-clone-calls

Fix the `clone()` function call for better readability.
Merge pull request #1476 from kbidarkar/fix-UI-boundary-tests

Fix for the UI boundary tests.
Removing remaining instances of generate_ helpers.

Removed all but generate_strings_list from the remaining helpers.py genetators. Also removed their corresponding tests.
This addresses the remaining task in #1378. Will wait to officially close issue.
End to end test CLI smoke tests

This perfroms following steps:
1. Create new organization and environment
2. Upload manifest
3. Sync a RedHat repository
4. Create content-view
5. Add repository to contet-view
6. Promote/publish content-view
7. Create an activation-key
8. Add product to activation-key
9. Create new virtualmachine
10. Pull rpm from Foreman server and install on client
11. Register client with foreman server using activation-key
12. Install rpm on client
Merge pull request #1475 from sghai/smoke-test-cli

End to end test CLI smoke tests
Merge pull request #1481 from JacobCallahan/master

Removing remaining instances of generate_ helpers
Make Entity.path overrides more consistent

The base `Entity` class provides a `path` method, and numerous subclasses extend
this method. Make those overrides more consistent:

* Provide the `which` variable as an argument when `super` is called.
* Use definition lists in docstrings.
Merge pull request #1482 from Ichimonji10/entity-path

(API) Make Entity.path overrides more consistent
Make API test_multiple_paths green again

Update OperatingSystem entity and map remote to local paths
Update str_type parameter in Role entity name field
Improve StringField to convert to a tuple if a string is given as
str_type
Improve skip_if_sam helper method to deal with entities modified by
functools.partial
Merge pull request #1483 from elyezer/fix-api-test-multiple-paths

Make API test_multiple_paths green again
(API) Port old tests for hosts

Significantly update the definition of class `Host`: modify fields and override
the `build` method to properly create dependent entities. Enable CRUD tests for
hosts in module `test_multiple_paths`. Drop old CRUD tests for hosts.

Slightly clean up module `test_host_v2`.

Fix #1446.
Merge pull request #1477 from Ichimonji10/test-host

(API) Port old tests for hosts