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