It is the longest cast iron structure in Europe. Kristina Smith visits the Victorian-era Madeira Terrace in Brighton, where a painstaking heritage project is under way