added source ref to node

- added open/close token, start/end pos to node
- setting source ref implemented in node builder
- node to string updated