Fixed ports not being marked as set

We cannot compare with the current module because it is mutable.
This also created problems with updating the inline widgets.

gui/pipeline_view.py:
 - functions_have_been_deleted:
 - moduleFunctionsHaveChanged:
   Compare using stored function names
 - function_changed:
   Update ports
 - update_module_functions:
   Update widget values