added behat function to check if a link is shown on a page
fixed if structure
Merge pull request #137 from Kunstmaan/add_simple_behat_link_check

added behat function to check if a link is shown on a page