Extracted out FunctionTransferable object.
Added dnd support for function definitions on the workspace.