The British Army has condemned ‘appalling and shameful behaviour’ after more than 1,000 women shared stories of sexual harassment.