Slight refactor of DefaultResourceProvider.
Add bundle resolvers.
Move loaders only used by plugins to plugin path.