Merge pull request #4 from nrcmedia/master

Not adding an alert key to the aps if the alert is not set
Release 1.0.5
Extend MockAgent so it can simulate msg rejection on Apple side (err 8)

Other causes of rejected message should be prevented on `apnagent` side - such as serialisation problems, but `BAD_TOKEN` error is the only one that may cause the message to be rejected.

Having this is important to properly test error mitigation.
Merge pull request #6 from lemonlabs/ft/mockagent

Extend MockAgent so it can simulate msg rejection on Apple side (err 8)
bug: streams emit empty reads in node 0.11
Release 1.1.0
removed incorrect parentheses and added missing dash in documentation
Merge pull request #7 from jonasrauber/master

Removed incorrect parentheses and added missing dash in documentation
Travis SVG badge

http://blog.travis-ci.com/2014-03-20-build-status-badges-support-svg/
Merge pull request #8 from jonasrauber/master

Travis SVG badge
Fix payload trim for unicode alert text
Merge pull request #9 from TassosD/unicodetrim

Fix payload trim for unicode alert text
Release 1.1.1
alert example for object incorrect, fixing
fixing alert example when setting multiple values
Merge pull request #11 from codeHatcher/master

alert example for object incorrect, fixing
some memory leaks fixing
correcting jsdocs
formatting && making the method private
Merge pull request #18 from phgrey/master

Fixing some memory leaks on Agent reconnect