Added test - to check content host names are unique
Added clone function and test for cloning provisioning template.

Few docstrings updates.
Rewrite ContentViewTestCase

* Drop an unnecessary `@ddt` decorator.
* Make the test code more straightforward.

Rather magically, the test now succeeds.

    $ nosetests tests/foreman/api/test_contentview.py:ContentViewTestCase
    .
    ----------------------------------------------------------------------
    Ran 1 test in 19.436s

    OK

This fixes a Jenkins failure.
Merge pull request #1609 from tkolhar/test_cli

Added test - to check content host names are unique
Merge pull request #1634 from Ichimonji10/test-contentview

Rewrite ContentViewTestCase
Merge pull request #1632 from kbidarkar/clone-template

Added clone function and test for cloning provisioning template.
Added support to sync repos via the repository page.

This required tweaking the existing `assert_sync` function at,
ui/sync.py to sync repos via the repository pages.

Added tests to test all the repo types 'yum', 'puppet', 'docker'.