Ported to NAN, compiles on v0.11.13

I have ported the module to Nan, effectively allowing build on node v0.11. I have confirmed the module still works on v0.10.29 and all tests are passing.

I haven't heavily test this, so please review and report any problems or feedbacks.