Add a content API to create a message channel.
BUG=
393291
Add a content API to create a message channel. Android Webview will use this channel for communicating to JS. Also move postmessage related logic to its own class from webcontents.
Committed:
https://crrev.com/4780212cc71a0297d5fd5818eff783aea661f2dc
Cr-Commit-Position: refs/heads/master@{#304873}