templates: support for `<b:include src="id:foo"/>`
templates: better recursion prevention (detect root template include)
ui.popup: autoRealign property to prevent automatic realign on window resize