Expire also prev and next session caches
Correct function name for cache sweeper
Removed copypaste code

Sweeper had basically the same methods as CacheHelper, and sweeper is
used in controllers that already include CacheHelper, so removed the
sweeping code.

Expire caches also when deleting a test session.