Switched DocumentIterator to using Logging API. Added NoteIterator for
NoteCollections.

Signed-off-by: Nathan T Freeman <nathan.freeman@redpilldevelopment.com>