Wire up the event mechanism to pass data between browser_popup.js, content scripts (gaggle.js and david.js).

Still need to implement the logic to parse pages for david.js and other web handlers.