Added user defined table types for use with encodeMany.
First pass at encodeMany finished.
Renaming encodeMany to encodeList.
Renaming encodeMany to encodeList complete.