Add segment.io analytics

This is not a very suggestive name for the new service. liveSiteTestService?

But I think I've held this PR up enough. You can tweak it if you think it worthwhile. Merging.