Pass a Config object to QuickTemplate

Change-Id: I9c2c9fb8e2d0cd1474218b2a49b41d053672fe7b
SkinFallback: Use Config instead of globals

Change-Id: I2f03f649cdfd334f842d473eaa7613e17f112ab5