config: Created a function to get a default config copy

* Updated docs and tests accordingly.

Signed-off-by: Joe MacMahon <joe.macmahon@cern.ch>