Implementation of reloadconfig by Marc Rijken.
merged
fixed test
make sure every plugin gets a name
cleanup the reload tests
cleanup