Mojo JS bindings: update the new bindings with the associated interface feature.

This copies the code from the old bindings. The only change is how module loading is done.

BUG=699569
R=rockot@chromium.org

Review-Url: https://codereview.chromium.org/2893493002 .
Cr-Commit-Position: refs/heads/master@{#473311}
14 files changed