Added confreplacer.py.

Generates configuration in a temporary directory. Reloads if the new
configuration is ok, rollbacks otherwise.