CLOUDIFY-1944 modify relationship define in typetemplate to allow ordering and add validation of used relationships
Merge remote-tracking branch 'origin/feature/CLOUDIFY-1944-relationships' into feature/CLOUDIFY-1944-relationships