added method  StackContainer#clear
added method  StackViewAbstract#destroy
buildTemplate fix: clone template DOM before putting it into cache