general: Replaced .copy() with deepcopy()

* This fixes a failing test (SchemaTestCase.test_update_mappings)

Signed-off-by: Joe MacMahon <joe.macmahon@cern.ch>
actions: Used a class instance variable to hold the logger.

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