resourceloader: Pass a Config to the ResourceLoader constructor

Instead of relying on the default being main, which is deprecated.

Change-Id: I200e2c2dc922ae1fa5fa68d449403d0287e41786
Merge "resourceloader: Pass a Config to the ResourceLoader constructor"