Add options to clearcache to clear specific cache

Fixes #28