modernized code

use fast enumeration loops for

NSArray_DeepMutableCopy
NSDictionary_DeepMutableCopy