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
prefix messages with command type
revert last commit. Apples docs are a bit confusing in this regard
assemble notification frames in package_notification
Merge remote-tracking branch 'toto/master'

Update to toto's version of the gem.
Update Gemfile.lock to correspond to gempspec
Fix packaged_notification test

Use correct base64 encoding, obtained independently by writing the
notification contents to a file and using system base64 utility.
Merge branch 'fix-failing-test'