Use POLANDBALL_DATADIR macro only inside ResourceCache

Update log messages for ResourceCache and EntityFactory