implement typeswitch pattern matching syntax for variables, necessary changes to context handing (moved from rootelement/parentelement/textelement from queryengine to dynamic context), moved nodeCollation = nil check

--HG--
branch : trunks
implement context item assignments

--HG--
branch : trunks
implement Balisage flowers

--HG--
branch : trunks
fix handling of variables undefined by the pattern (due to being in an optional part) (add missing variables with () value)

--HG--
branch : trunks
meta for attributes

--HG--
branch : trunks
condense objects in pattern matching expressions

--HG--
branch : trunks
fix memory leak on invalid typeswitch input

--HG--
branch : trunks
support namespaces in pattern declared variables

--HG--
branch : trunks
functions to test if a array contains something and to sort a string array

--HG--
branch : trunks
namespace tests for pattern matching

--HG--
branch : trunks
better error message, tests

--HG--
branch : trunks
fix delphi 4 compatibility, uninitialized result

--HG--
branch : trunks