Refactored duplicate Then step to Steps.java

Moved step 'Then take me to <title> as heading' to base class Steps.java
so that it is defined in one place instead of several files