Avoid 404 on faster machines and connections

Add a retry with 1 second sleep before it when get a 404 on reading an
entity. Some API tests are failing due to 404, but when accessing the
URL the entity is returned without any problems. This was not possible
to reproduce locally, had to run on the Jenkins slave which is faster
and have a faster connection to the Satellite server.
Merge pull request #1489 from elyezer/entity-read-retry

Avoid 404 on faster machines and connections
Clean up some tests in module test_role_v2

The only non-stubbed tests that use the old API tools are in module
`test_permission`. Those tests interact heavily with the `/roles` API URL, and
they will likely be ported to module `test_role_v2`. In preparation for this,
clean up module `test_role_v2`.
Merge pull request #1488 from Ichimonji10/test-role

Clean up some tests in module test_role_v2
Give more time to things happen

Increase task polling timeout to 3 minutes
Increase sleep time to 3 seconds if a 404 is found when reading an
entity
Merge pull request #1491 from elyezer/timeout-increase

Give more time to things happen
Finish cleaning up module test_role_v2

Some tests in module `test_role_v2` are focused on filters, not roles. Create a
new module, `test_filter_v2`, and move those tests into the new module.
Significantly clean up the moved tests.
Merge pull request #1490 from Ichimonji10/cleanup

Finish cleaning up module test_role_v2
Port API tests in module test_permission

Subsume module `test_permission` into module `test_permission_v2`. Make the
relevant tests use the new API testing tools, not the old API testing tools.

Fix #1447.
Merge pull request #1492 from Ichimonji10/drop-test-permissions

Port API tests in module test_permission
Fix a typo in CLI smoke test module

Bonus: some formatting love to add consistency to the entire file
Merge pull request #1495 from elyezer/fix-cli-smoke

Fix a typo in CLI smoke test module