Fixes #497: introduce bundles config, allows modules and loader plugin resources to be loaded by bundle ID