all: implement declare_tag and apply_tag
wafcontext: better error reporting
wafcontext: validate hscript sections content (to prevent typos to sneak in)