Move top-level config items to top of file.
Due to the limitations of the ini-file format.
Merge pull request #2450 from mdboom/config/fix-cfg-template

Move top-level config items to top of file.