MULTIWAVELENGTH OBSERVATIONS OF GRB 110731A: GeV EMISSION FROM ONSET TO AFTERGLOW