Don't attempt to show satisfaction survey when not present.

This has been causing ramdom (1 in 50) failures in our javascript
integration tests because they use a minimal layout that doesn't include
the satisfaction survey markup (see
https://github.com/alphagov/slimmer/blob/master/lib/slimmer/test_template.rb).
Exit tracking uses slug in data attribute if available.

This change makes exit tracking use the slug in the
data-transaction-slug attribute on the link if it's available.  If not
it will fall back to parsing the URL.

This will fix a number of issues we're seeing with exit tracking where
it's not able to get the correct slug from the URL (e.g. mixed case
slugs, pages from the google cache etc...)
Merge pull request #309 from alphagov/fix_satisfaction_survey

Don't attempt to show satisfaction survey when not present.
Merge pull request #310 from alphagov/fix_exit_tracking

Exit tracking uses slug in data attribute if available.
Merge branch 'master' into fix-the-bunting