Added stop to logger, use this for really bad things.
Load previously saved pecan.xml if exists
Added new flag to pecan.xml <pecan><bety><write>TRUE/FALSE</...> use this to indicate if runs/configs should be written to database (not used everywhere yet)
Use logger.stop if settings are not useable.
Working on removing global settings variable (redmine #1636)