fix header and footer to manage also arrays as template
Merge pull request #482 from offtherailz/master

header can be used in manager too. header configuration can be an array.  fix  #481.