Fix webidl_binder.py bugs: work with closure, and fix off-by-one error in virtual method call arguments.

Tests passed: `tests/runner.py test_webidl`