Use js-module for js file
Update example to use module
Use document events for registration and push
Fix iOS event listening
Update version to 2.2.0
Add migration guide
Update migration guide formatting
Update readme with migration guide and not on events.
Update MIGRATION.md
Fix android registration event
Merge pull request #60 from urbanairship/next

2.2.0 Release