Updated the manifest to version 2 as required by the chrome webstore.

Changed and deleted a couple of lines in the process to make it conform
to the new manifest guidelines.