[Extensions] Make handler_function a hidden property

Fix the glitch and add a test.

BUG=548273

Review URL: https://codereview.chromium.org/1422383003

Cr-Commit-Position: refs/heads/master@{#356985}
3 files changed