accesslib: dirty context handling now uses cache_flags
accesslib: dirty context handling now uses cache_flags

get_dirty_contexts() and mark_context_dirty() now use cache_flags
infrastructure. Remove deprecated cleanup_dirty_contexts() - this is
now handled by gc_cache_flags() in a more generic way.

dilawar/moodle