Custom XML-templates in oUF:Spawn function

TSIA, it's gonna be useful for people, who prefer doing things via XML+LUA, it's strange that custom templates were implemented in SpawnHeader function only.
Did it the same way it's done in SpawnHeader.
P.S. pls tell me if i need to make changes somewhere else.