Use mojo API in Settings>Internet: cr_network_listener_behavior.js

This is a signficant re-factor of cr_network_listener_behavior.js
intended to simplify the implementations.

When the behavior was introduced it was intended to share some code
intended to reduce the overhead and complexity of binding extension
observers to each internet page element that needed to know about
network changes.

With Mojo the overhead is very lightweight, and the binding code can be
shared in the behavior.

Bug: 853953
Change-Id: Ieb866b7dd24f652e0625809b95840a0aaa760c75
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1654231
Commit-Queue: Steven Bennetts <stevenjb@chromium.org>
Reviewed-by: Kyle Horimoto <khorimoto@chromium.org>
Cr-Commit-Position: refs/heads/master@{#669759}
23 files changed