Autophagy in development and regeneration: role in tissue remodelling and cell survival