[Bug 1068121] API to register push notifications.

Nothing uses this yet, but will later once we have a notification
rewrite.