QA: refactor mainmenu_steps.rb file for Rspec etc

* also make the step that checks for link to user profile
actually do that

Change-Id: I06add3a6ce0f9a58bf9ab6883866544180bea64d