Add anonymous device registration convenience method.
Add username property to Metric, and deprecate payload property.
Add versioning.