0.11 compat using nan

For #1

I changed some calls and I used NanAsyncWorker instead of playing with uv_work and persistent, it says there are 250 changes (due to code move) but I think it's more 30-50.

Works well for me on 0.11.10 (newer release are still buggy with native mods).