Initialize JMImageCacheDirectory and sharedCache atomically
Merge pull request #18 from jlnr/master

Initialize static variables atomically