Support for compaction filters in the C API

I have completed the CLA.
Destroy cfilter?