Fix reconfigure.test. Remove obsolete configurations.

Fix confetti error output. Remove redundant cfg_reload(). Make sure we
produce a Lua error on error.
Remove duplicate code.
Style renames.