[Foundation] Update UndoManager registerUndo to adopt new naming rules
[Foundation] Update UndoManager registerUndo to adopt new naming rules

Addresses rdar://problem/26500390 registerUndoWithTarget in overlay not updated for new API names

apple/swift-corelibs-foundation,apple/swift-corelibs-foundation,apple/swift-corelibs-foundation,apple/swift-corelibs-foundation,apple/swift-corelibs-foundation