Remove sleep_for_seconds from tests

Also add wait_for_ajax on UI methods
Merge pull request #627 from elyezer/remove-sleep-from-tests

Remove sleep_for_seconds from tests