Merge pull request #79 from amenadiel/simplify

Fixes $cache key names where needed
Add some primes for nslots
Merge pull request #87 from hnw/support-larger-nslots

Support larger number of slots
usses isset to replace missing keys