Started work on the SQL stuff. The XML data now parses out into a structure that should be passable to PostgreSQL to create new tables with the table's sequences, primary and foreign keys, functions and triggers. NOT TESTED YET! This only works for initial creation, deltas are not yet handled.

Signed-off-by: Madison Kelly <mkelly@alteeve.ca>