Add nan as dependency.
Use nan to wrap around V8 functions.
Merge pull request #3 from atom/nan

Use nan to make module compatible with node v0.11.x