Expose compact function

- Expose compact function on CDTDatastore
This will need to have an assert that `compactError` returned `YES`.