Fix an implicit sign conversion found by clang 3.5.
Make the "leak_memory" configuration explicit in the test/format config, off by default.  Fix a leak with repeated setting of configuration values.