Correct checking/handling for push tokens
Rough handling of incoming push notifications

Needs more work, but the basics are in place.