Fixed getNode() so that it returns the nodes rather than the IDs that you just provided it

Works as expected by original sigma.js with additional safe mode bits.