Add Behat behaviours to click links and submit forms in preview.
Merge pull request #3000 from mateusz/preview-behaviours

Add Behat behaviours to click links and submit forms in preview.