Fixed the cli failures in jenkins - user, content_view, medium, partition-table and gpg_key tests
Fix for the missing proceed_edit locator.

Depending upon whether the org and locator being selected,
the host selection page appears. Now instead of `edit` flag,
depending upon the locator's availability the proceed_edit
button is selected.
placing wait_for_ajax after navigation to users page
fixed make_template factory to use audit_comment and updated a error locator to fix related test
removed success notification from test_remove_medium as it vanishes so soon and anywayz we are searching the entity after deletion
Merge pull request #1758 from tkolhar/test_cli

Fixed the cli failures in jenkins - user,content_view,medium, partition-table and gpg key tests
Merge pull request #1759 from kbidarkar/fix-ui-proceed_edit

Fix for the missing proceed_edit locator.
 Added test for repository-set - available repository
Added object caching and multi-threading to CLI tests
I chose to have the caching off by default.
Initial tests show time savings between 4-8 minutes for all CLI
tests.
Caching is made available through the @cacheable decorator.

Also threw in multi-threading capability. No additional errors produced.
Time results will vary per machine, but my test time was reduced from
approximately 5 hours to around 40 minutes.

Use make test-foreman-cli-threaded.
Ran 1114 tests in 2416.224s
Merge pull request #1757 from JacobCallahan/master

Added object caching to CLI tests
Merge pull request #1762 from tkolhar/test_cli

 Added test for repository-set - available repository
Merge pull request #1760 from sghai/fixes

UI test fixes