160-year-old St Louis church survives fire, condemnations and legal battle as residents take over restoration