Promote catalog items to TEMPLATE if the root entity is an App.

Creates a spec for the item when adding to the catalog so the app check can be made, which means that addItem behaviour switches from lazy to eager instantiation (though the spec isn't kept long-term atm).