Formatting update, and changes to the data

There are a few major changes in this.

- Update the formatting to follow PEP8. Spaces instead of tabs is the big one.

For APNS 

- Change the data parameter to alert since that's what it is.
- If alert is not set, don't send it. This fixes the issue where you can't send silent notifications on iOS
- Send extra data outside of the 'aps' attribute as this is the preferred way from the docs.