Measurement protocol preliminary suppotr.

This patch includes necessary refactoring and classes necessary to implement a second protocol - Google's new Measurement Protocol support.

An alternative version of AutoAnalytics called AutoMeasurement is available for testing. Once testing is complete we will switch over to Measurement Protocol by default.