Moving cache invalidation module into platform level (carbon-commons)