Fixes strict errors and other no longer supported behaviour.
As a result, datasource config creation now goes through the ConnectionManager's API rather.
Add config option to toggle support for client requested flushing.
This should be disabled by default due to the potential for abuse; allowing clients to request an update of the cache should only be supported in very specific cases.