A 1,400-seat theatre in Leith " which has been dark for almost 30 years " has been given a new lifeline thanks to