Node types functionality

- Adding nodetypes to xdi constants
- Adding getNodeType() function to the xdi.util
formatting tabs
added textfield to enter secret token