Fixes for DocumentScanner and IndexDatabase to better manage statefulness.
Caching to DominoElements in graph
Added reflection to ElementComparator in graph.
DbDirectory now implements Collection instead of just Iteraable