Add in options to clean up the pkg cache dir.

Just for convenience.
Merge pull request #9 from wei2912/patch-1

Add in options to clean up the pkg cache dir.