Re-localization of reference counters to eliminate synchronization in
isolated thread implementations.

Signed-off-by: Nathan T Freeman <nathan.freeman@redpilldevelopment.com>
Switched DocumentIterator to using Logging API. Added NoteIterator for
NoteCollections.

Signed-off-by: Nathan T Freeman <nathan.freeman@redpilldevelopment.com>
Forgot the implementation in the actual class for the NoteIterator!

Signed-off-by: Nathan T Freeman <nathan.freeman@redpilldevelopment.com>
Preliminary implementation of DatabaseIterator from DbDirectory. Nod to
timtripcony to finish before M1. :-)

Signed-off-by: Nathan T Freeman <nathan.freeman@redpilldevelopment.com>
Changed OpenLogItem back from a static class. Added and completed test
of adding handlers. Throws AccessControlException on setLevel though in
XPages Java class - don't know why.