Merge pull request #18 from toto/master

Support for 3rd gen APNS wire format
Update core.rb

Isn't this loop redundant and make the bulk of notifications to be sent more than once?!
updated the gemspec to the patched 1.1.1 version