improvements to gii templates and siteMenu