NAN dep upgrade, full node@<=0.11.8 compatibility

bring nan up to the latest and a couple of minor fixes to make a successful compile & tests passing on Node 0.11.8 (and down to 0.11.4 in the 0.11 releases).