remove HowTo comment and reference HowTo.txt instead
add a nested sub-section use case in the rst test
merge templates and parameters

Document and sections used the same templates and
parameters in both topicref and result-document
modes. They now share the same code.