Prevent DependencyInjection Extensions from loading if the bundle is
not enabled.
Merge pull request #1298 from drak/kernel

Make bundles robust 2nd class citizens