Merged (squashed) guillermo's branch with AS API changes: https://github.com/willyaranda/notification_server/tree/mozAPI