add license information and fix tests
Merge branch 'master' of https://github.com/k3nn7/apns-python