[Runtime] Disable extensions api for external web page.

We should only enable extension js api for frame which with
app scheme or file scheme.

BUG=XWALK-2153
Merge pull request #2221 from CooderIan/disable_api

[Runtime] Disable extensions api for external web page.