Issue #2249723 by andrei.dincu: Replace cache_get(),cache_set() and user_access() with D8 methods in .inc and .module files