Deal with OPcache

We need to invalidate PHP files which contain newly-saved data, including `config.php`, data sources and events. #2017 

In progress.