Convert manifest version to 2.
The onRequst and sendRequest were deprecated after version 2.
Adjust onRequest/SendRequest to onMessage/sendMessage.