[FrameworkBundle] Only initialize a fully configured service if APC is available.

At the moment we only provide ApcCache for mapping caching (out of the box). DoctrineCache is available but not configured.