CLOUDIFY-1808 use 'type:' in type templates instead of 'derived_from:'