C2DM registers itself for the  event via the  handler, which receives an error and token, but captureToken needs to check that there is no error and that the token exists before attempting to perform a regex match on the token, otherwise we throw an exception that nobody can catch because we're in an unwrapped event handler
Bump the version for token handler change
Merge pull request #27 from jessejlt/master

Fix potential crash in token handler