Fix getNodeId method of ReplSetTest object to return 0, not undefined, when node.nodeId == 0.

SERVER-11995