Adds test to verify cache locks

Note: this test took forever for me to figure out how to synchronize between multiprocessing and gevent, not fun.
Fixes issue with cached locks and cache invalidation
Merge pull request #134 from ooici/locking-r2

OOIION-1497 HDF File Locking Cache R2