Add compatibility with node 0.10.x

- Use nan module
- Use bindings module