Implemented chrome.runtime.onInstalled

- Refactored grunt configuration
- Added Event constructor