[TASK] Safeguard APC use (in CLI requests)
When activating APC as cache for Doctrine one would get fatal
errors in CLI, because by default APC is disabled for CLI PHP.
Thus we check for the existence of apc_fetch() before actually
using the ApcCache.