small script to conveniently generate state files - not actually needed
added exclusion of source:*
Added support for IDN domain names with non-ASCII characters
forcing UTF8 when connecting to database
hiding test scripts
added a dummy error type for testing purposes