Code cleanup.
Attachment handling fixes & improvements

* CBForest now tracks whether a revision/doc has attachments
* garbageCollectAttachments skips docs with no attachments
* -forceInsert: processes attachments now
* Implemented onlyAttachments flag of -getPossibleAncestorRevisionIDs:
* DB importer now needs to copy the attachment dir before importing docs