Fixed the creation of the cache directory in case of a race condition.
Fixed race condition when writing  cache on disk
Removed workaround for PHP 5.2
Made diff easier to read
Removed unneeded attribution notices
#38 - applying minor whitespace-based CS fixes
Merge branch 'hotfix/#38-race-conditions-in-filesystem-cache'