committing more changes that work with cmake
added a reworking of the configuration system so that it uses a config
file for global settings, rather than environment variables.  The
config system could be made to work with the environment too, but
I have not written an adaptor to make it do that.

also added a fix to the build system.  The problem was that the
functions in EventRoutines.cpp need to have -fno-omit-frame-pointer
and -finstrument-functions passed in their cflags.  In the
switch to CMake, I forgot to separately compile them with those
flags.