The leisure park operator behind Legoland, Madame Tussauds and Sea Life has secured £657 million ($890 million) in new funding to meet its looming debt deadlines.