fixed copy handler.

Remove object if copy action fails only after it was uncataloged.
added more tests for copy hanler.

Added test for folderish objects.