Moved the inline script from background.html into its own file, in order to conform with default security policies (see http://stackoverflow.com/questions/11545743/chrome-extension-insert-content-script-on-browser-action).
Updated manifest.json to version 2.