binding: Uses the relevant realm instead of the current realm (1 of ?)

There are many places where we're passing the current realm instead of
the relevant realm of the platform object, and it's wrong.  This CL
fixes most of those but not all.  Following CLs may fix the rest.

BUG=618672,560308

Review-Url: https://codereview.chromium.org/2049493005
Cr-Commit-Position: refs/heads/master@{#407133}
12 files changed