Add KM server-side API, track registrations and user type.
Update settings.
Merge remote-tracking branch 'origin/dev-kissmetrics' into dev
merge dev