includes/resourceloader/: Use Config instead of globals

Change-Id: Iaa1f4ae9c397575c9bb86dacbc342456e6f5f532
Merge "includes/resourceloader/: Use Config instead of globals"