The Egyptian military's use of so-called virginity tests against female democracy protesters in Tahrir Square is part of a long tradition of using sexual harassment as a tool of social control.