Applying notation changes to leverage updated XDI.js

Use of node type constants declared in XDI.js
Use of xdi.uti.getNodeType()