Refactored out LoadDDocs() helper func.
GetDDocs() no longer loops.

cbugg: bug-723