added variables to track usage of caches
added draft torrent for ccv_resample
- added a test for ccv_resample torrent interface
- cleaned cache stats variables in test components
- cleard compiler warnings of valloc