Editions functionality has been moved elsewhere
Reformat SQL
Make EDITION_ID constant available

Although we later make this available via another process, we need to
have it available throughout the import process.
Improve and make consistent logging messages

Per #407.
Moved sitemap.xml-generating $laws->config into loop

These config options were being lost after the first loop, which was
breaking things. Closes #411.