Wrapping/unwrapping handlers properly.

Summary: https://code.google.com/p/esprima/issues/detail?id=502

Test Plan: npm tests
Merge pull request #13 from asukhachev/harmony

Wrapping/unwrapping handlers properly.