Convert the NodeHelpers trait to use self methods
auto merge of #3541 : zwarich/servo/more-jsref, r=Ms2ger