TEIID-1092 adding session variables and a minor refactoring of dqpcore
inner classes