Some caching improvements that should satisfy thread-safety.
Merge pull request #53 from smithc/MeCache-contrib

Some caching improvements that should satisfy thread-safety.