Fixes for teiid 8 to pass the Resolver unit tests

* Adds in remaining extra classes from teiid codebase

* Hash codes and equals methods changes since equality testing between
  objects is not strictly conventional in that different feilds in AST nodes
  appear to be set/unset and different points in the resolver