Teiid DDL Model Work

Code from Mark Drilling that he was working on for Teiid DDL models. I wanted to get it in the codebase. I got it all working with the latest P9r code. Tests all work.