Boris Johnson quit as an MP, saying he was the victim of a "witch hunt" over Partygate report.