Handled case where onLaunched input is not set

According to https://developer.chrome.com/apps/app_runtime#event-onLaunched, the `launchData` is optional.
Merge pull request #113 from beaufortfrancois/master

Handled case where onLaunched input is not set