Fix FileActions merging override

When merging FileActions, the register() functio needs to correctly
override the previously merged action handler without affecting the
original one.
Merge pull request #9440 from owncloud/files-fileactionsdeepcopy

Fix FileActions merging override