Initial work at building a internal DOM index, and assign nodeID's to DOMnodes.
Added toJSON method on dom nodes, to keep internal reference to the original geckoNode.
Start the proxy with the debug flag to enable node-inspector to work.