Make the Tree responsible for applying its transformers
Fix component setup/teardown, so repeated builds work again

Eventually this will have to be refined further.