FB 33239 add mutable document revision

See https://gist.github.com/mikerhodes/c022e9e44d83c2e4747e for mini spec (objective-c version)

>> -                return 
>> SQLDatabaseUtils.getFullRevisionFromCurrentCursor(cursor);
>> +                // getFullRevisionFromCurrentCursor needs 
>> attachmentManager to resolve attachments
>> +                return 
>> SQLDatabaseUtils.getFullRevisionFromCurrentCursor(cursor, 
>> attachmentManager);
>
> Any better to pass the attachments in rather than the 
> attachmentManager? The other alternative is for 
> getFullRevisionFromCurrentCursor to return a builder and then call 
> .setAttachments on that in the callee.

After consideration, it's probably more that SQLDatabaseUtils needs 
renaming to something that implies it understands the higher level 
concepts that it's dealing with nowadays.