Fixed the failing architecture tests in jenkins - update and delete
Let nose capture stdout and logging output

By letting nose capture the stdout and loggin it will show just output
related to the failed tests. It will drastically reduce the amount of
test output and will only output relevant parts.
Merge pull request #1767 from tkolhar/test_cli

Fixed the failing architecture tests in jenkins - update and delete
Merge pull request #1773 from elyezer/better-test-output

Let nose capture stdout and logging output
Fetches the error message when manifest upload fails.

Uploading manifest seems to fail frequently when uploading at the
jenkins end. This will help us know the exact error.
Merge pull request #1772 from kbidarkar/manifest-error

Fetches the error message when manifest upload fails.
Fix org & loc creation functions and improve error message for api.

Improves error message for enable_rhrepo_and_fetchid in api.utils.

The indent for submit button for org and location functions is now
fixed.
Also now org and location CRUD functions have flat code and no
generic exceptions.
Merge pull request #1778 from kbidarkar/fix-api-tests

Fix org & loc creation functions and improve error message for api.
Added poll_frequency to wait_until_element and wait_for_ajax

When waiting for spinner or progress bar it's desired to have
increased poll_frequency rather than a default of 0.5 secs.

This may avoid high CPU usage seen while spinner or progress bar.

Also fixed few content view test-cases.
Merge pull request #1779 from kbidarkar/wait-poll_frequency

Added poll_frequency to wait_until_element and wait_for_ajax
Add CLI test for activation-key copy
Adresses #1704

Test results
------------
@Test: Copy Activation key for all valid Activation Key name ... ok
@Test: Copy Activation key for all valid Activation Key name ... ok
@Test: Copy Activation key for all valid Activation Key name ... ok
@Test: Copy Activation key for all valid Activation Key name ... ok
@Test: Copy Activation key for all valid Activation Key name ... ok
@Test: Copy Activation key for all valid Activation Key name ... ok