Copyright text is taken from the Registry.
Schema library factored out from SQL to save on dependencies.
Added back references to schema namespace.
Test updated to work with separate schema library.