Expose compact function

- Expose compact function on CDTDatastore
Merge pull request #88 from cloudant/expose_compact

Expose compact function