Added beacon when analytics call is finished.

This is so we can independently confirm our analytics are still working.
Too many spaces
Merge branch 'master' of github.com:guardian/frontend into simple-stats
looser coupling on firing beacon
Refactored config so you can now include it as an AMD module
Little bit of cleanup
Merge pull request #2562 from guardian/simple-stats

Added beacon when analytics call is finished.