Fixed NODE_SET_METHOD for node v0.11.x

Signed-off-by: Daniel Fagnan <dnfagnan@gmail.com>
Merge pull request #5 from TheHydroImpulse/master

Fixed NODE_SET_METHOD for node v0.11.x.

It's not the change i want, but it works in 0.11, 0.10 and 0.8

Need to revisit when 0.12 comes out and we can see what NODE_SET_METHOD has become
it does way more in 0.11 than before