use escapable handle scope on returning allocated object

Fix rogerwang/node-webkit#2509