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 #133 from ooici/locking

OOIION-1497 HDF File Locking Cache