Gloucester beat Exiles in humdinger