Add runtime.onMessage and runtime.sendMessage
Finished feature 52375423/runtime-sendmessage.