Configurable hitcount cache lifetime

hitcount cache lifetime respect "HITCOUNT_REFRESH_INTERVAL" in settings

Not sure hot to write a test case as HitCountJob.get() is async and it seems that update_hitcount not called until tearDown.