Clean up inconsistent variables in ReferenceNode/TransclusionNode

Made them match the local variable names in MWRefereneListNode.

Change-Id: Id314779323c3a7347cfcd6f40b0e2b63e4d9b0c5
Merge "Clean up inconsistent variables in ReferenceNode/TransclusionNode"