clean state
- hcomp(); templates are loaded and compiled in template.js

	deleted:    lib/hcomp.js
	modified:   lib/output.js
	modified:   lib/template.js
	new file:   templates/display/documentSelect.html
	new file:   templates/display/section.html
	new file:   templates/element/Caption.html
	new file:   templates/element/Comment.html
	new file:   templates/element/Document.html
	new file:   templates/element/Type.html
	new file:   templates/element/Unit.html
	new file:   templates/element/Value.html
	new file:   templates/main.html
	new file:   templates/state.html