Ensure that port names are unique for a run.

This is generally enforced by the workflow itself but this formailizes it in the
model validations are well.
[TAV-392] Fix file input precedence over values in worker.

This is probably more natural for now. Better forms in the views should only
allow one type to be saved in the model.