refs #8149. Constrain input workspace types.

Constrain the input workspace types and introduce tests for this behaviour. Also add behaviour to documentation.
Merge remote-tracking branch 'origin/feature/8149_fix_stitch_defect'