Generate and submit registrationId, fixes #25

If we're expecting to get registrationIds from others, it's only fair
that we also supply our own.