Move some protected methods to public

Starting with version 4.8 gcc complains about attempts to pass these
protected methods to NODE_SET_PROTOTYPE_METHOD as the callback.
Merge pull request #121 from tomhughes/gcc48

Move some protected methods to public