Created by: Carrotman42
The change in config.c clears out the storage for configuration variables in config_init to deal with its lazy loading in the context on static reattach.
The change in options.c resets the dynamo_options to their default values during options_init to ensure that values from any previous attaches do not get carried over to the current attach.
Comes with a unit test which fails without these changes.
Fixes i#2661