Added Cache.removeWhere to API

The Cache.removeWhere(test) function scans through each item in the
cache and removes that item if it passes the supplied test.