Miscellaneous cleanup of InitialiseSettings

Dealing with some infrequently-touched parts of the file.

Mostly routine cleanup, however I also removed an obsolete comment under
wgRateLimits and removed some useless code folding regions (collapsing
3 lines seems pointless)

Change-Id: I5c0bfdc36288851541176310e92822dee085a077