updating nan to ~1.2.0 & reflecting code migration for node > 1node > v0.11.13