Add version info
Make extension manifest version 2 compliant

Export inline scripts to external javascript files. Use sendMessage/onMessage instead of sendRequest/onRequest.