Send optimizely test data back to Omniture and Ophan.
Fix jshint and remove logging.
Revert "Merge pull request #590 from guardian/revert-dev-error-tracking"
Merge pull request #592 from guardian/revert-revert-dev-error-tracking

Reverting reverting of dev error tracking
Removed last through loop check.
Merge pull request #594 from guardian/optimizely-logging

Send optimizely test data back to Omniture and Ophan.
Missing semi-colon.
Merge branch 'optimizely-logging'
Added data-link-name to search results
Merge pull request #597 from guardian/search-chrome

Add data-link-name to search results
Ensure tests pass with optimizely switch.
Merge branch 'optimizely-logging'
jshint fix
Merge pull request #598 from guardian/search-chrome

jshint fix
Revert "Merge pull request #590 from guardian/revert-dev-error-tracking"
fixing reference to correct errored file
formatting
different endpoint for ad logging
adding diagnostics endpoint for advert js errors
formatting