Add purgeall() cache function.
Purge all database cache when destroying. #149