Add changelog to main CDTDatastore workspace.
Fix crasher when replicating databases with attachments

This wasn't tested before as we don't officially support
attachments yet.