bugfix
removed obsolete getValue method
fixed edge case with implicitly closed elements within sections
more reliable determination of whether an attribute is self-updating
closes #37 - whitespace-only tokens are removed from the start and end of templates