some tweaks to WikiaDataAccess
PLATFORM-113: WikiaDataAccess - clear local cache only when data was being generated by other process and it could change
Merge pull request #3145 from Wikia/PLATFORM-113-WikiaDataAccess

PLATFORM-113: improvements to lock mechanism in WikiaDataAccess