Add onInstalled and onRestarted events to chrome-cordova