Fetch the metrics utility from thread-local data

If the cache events do not have access to the current request object,
get the current metrics utility directly from pyramid_metrics, which
would get it from a thread-local data structure.
Style
Implement master switch to globally disable caching
Improve tests for redis key_versioner
Move key_versioner / redis master_version check into separate method
Handle condition where the master_version is set successfully but is still unavailable
Merge pull request #9 from pior/feature-master-switch

Feature master switch
Merge pull request #8 from deuxpi/hit-miss-events

Fetch the metrics utility from thread-local data
Upgrade dependency pyramid_metrics to 0.1.5
Implement cache inhibition in Redis client
Implement cache inhibition in cache manager