Refactored duplicate Then step + Fixed flaky step

Moved 'Then display message <message>' to base class Steps.java so that
it is defined in one place versus in multiple files; and added a wait
time to 'Then take me to <title> page' step because it was flaky