Fix random test failures

Remove accidental duplication of error detection.
Place some webelement access in waits.
Sort of deal with an occasional break in WildFly server logout.
Merge pull request #617 from zanata/fix-random-test-failures

Fix random test failures