Added functionality to optionally define valid keys in a file.
The file containing valid keys must be read in before the actual
settings file. If keys taht are not defined in the "valid-key" file
are found in the settings file, an exception is thrown.