Add apiVersion attribute to all bundle defining definition types
Add 'definedBundle' flag to DefType of all defs that a primary to the bundle.
@bug W-1703506@
@rev goliver@
Merging origin/amcculloch/master-pending/apiVersion into master