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 #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
Added `enable_repos` function to ui/activationkey module.

This function helps us to enable particular repos,
which by default are disabled.

Changing default settings for content hosts that register with
this activation key requires subscription-manager version 1.10
or newer to be installed on that host.

For rhel65 the installed version is 1.9 on the clients, hence
Enabling the repo via the UI doesn't enabled the repo.

Also enabling repos uses the sub-man instead of yum-config-manager.
Merge pull request #1761 from kbidarkar/add-ak-enable_repos

Added `enable_repos` function to ui/activationkey module.
Make rhel_content_org a brand new org
This change gives me 0 errors in test_contentviews
Removed the caching from TestContentView.env1 to fix "Prior environment can only
 have one child" error.
Merge pull request #1765 from JacobCallahan/master

Make rhel_content_org a brand new org
Automatically profile with cProfile

Make most test tasks in the main makefile collect profiling information. For
example, executing `make test-foreman-cli` will cause a
`test-foreman-cli.pstats` file to be generated. This file can then be
manipulated using any tool that understands the cProfile data format. For
example, Run Snake Run can open the file directly, gprof2dot can generate a call
tree in DOT format, and pyprof2calltree can convert the data into a format that
kcachegrind can understand.

Sort make file variable names alphabetically.
Changed the resolution to 1920x1080 for virtual-display
Merge pull request #1768 from kbidarkar/change-resolution

Changed the resolution to 1920x1080 for virtual-display
Merge pull request #1766 from Ichimonji10/cprofile

Automatically profile with cProfile
Fixes the UI life-cycle environment test cases for UI update
Merge pull request #1764 from kbidarkar/fix-contentenv-tests

Fixes the UI life-cycle environment test cases for UI update
Fixed the failing architecture tests in jenkins - update and delete
Fixes many UI testcases related to sync, cv, hw_models

RH Common 6.5 is 2.28GB , rhel6.3 is relatively less in size.
Default timeout is 12 sec. As the element is already deleted,
we can just wait for 3 sec.