Feature/8796

Updated bugs and sorted out Adapt.register to take care of adding the prototype.constructor.template to components. Means we now can't have duplicate templates/component names - this falls in line with our registry too.