<bugfix>Fix ordering in function remap</bugfix> <ticket>#651</ticket>
<bugfix>Fix ordering in function remap</bugfix>
<ticket>#651</ticket>

core/upgradeworkflow.py:
  - UpgradeWorkflowHandler.replace_generic: add function operations *after* the add module operation

Nikea/VisTrails,Nikea/VisTrails,hjanime/VisTrails,Nikea/VisTrails,celiafish/VisTrails,hjanime/VisTrails,hjanime/VisTrails,minesense/VisTrails,celiafish/VisTrails,VisTrails/VisTrails,minesense/VisTrails,VisTrails/VisTrails,hjanime/VisTrails,VisTrails/VisTrails,minesense/VisTrails,Nikea/VisTrails,VisTrails/VisTrails,celiafish/VisTrails,VisTrails/VisTrails,celiafish/VisTrails,minesense/VisTrails,minesense/VisTrails,hjanime/VisTrails