SafeTransMerge spec

Added SafeTransMerge spec: This spec would import a user-specified function using a fully qualified name, run it, and then decide to proceed with the Merge or not based on the result of the function.