Re-factoring the table configuration, persistence, scope and naming.

Unneeded columns dropped from the TableDefinition table.
Adding schema and table names to the TableDefinition table.
Disconnecting the TableDefinition table from the hierarchy node.
Added scope to query XML.