Enable remaining general tests that pass to prevent regressions
Make note that a nodeset can be passed as second argument to xsl:key
Each template gets its own variable stack
Re-organize the code a little better
Process variables declared in body of another variable