Ensure backgroundapp plugin is optional for apps
- Add existence check before handling javascript events
- Revert change to AppWindow native implementation that referenced background Java classes
Make chrome.gcm Java 1.6 compatible
Extract background event handling into reusable component (native only)