add upgrade method to ConfigParser

Adds a simple upgrade method to ConfigParser. Reads new default config file and adds any missing settings. Using this function prevents crashes when adding a panel to a `Settings` instance where a new key has been added and that key is not present in the user's existing config file.

Can work around #2287 in some cases.