Cleaner steps for register, unregister, getRegistration.
Use specific errors. Resolve unregister with PushRegistration.
Run tidy.
Address Peter's comments.
Run tidy.
Merge pull request #23 from mvano/DOMException

Cleaner steps for register, unregister, getRegistration