Turning this beloved book into a musical was a brave move, says Dominic Cavendish, but it has paid off handsomely