Introduce a factory which will eventually cache the proxies it
generates.
Make NodeType thread safe.
Add r/w locking for the proxy's internal address.
Add scratch classes to minimize creation of new temporary objects,
create concurrent pool of NodeProxy objects.
Add hashing to DLNBase and use this also to hash node proxies with
addition of their doc id, change compare bits to make it useable it for
equals, make debugging easier by not reusing variables.
Change second form of NodeProxy creation to use caching, change
implementation of thread local storage parts of Nodeproxy to be more
memory efficient, fix error in lock handling, use only a single lock for
internal address manipulation to be more memory efficient.