Apple: Move calculating $APNUrl to where it's needed
Apple: Add new method queue() to enable bulk sending

queue() queues messages without calling sendMessages(), so you can
then call sendMessages manually.

Refactored send to call queue() then sendMessages().

Tidied code a little to conform to PSR-2
Rename sendMessages() to flush()
Add bulk notification methods to parent object