A Brazilian court on Wednesday convicted three men for the rape of an American tourist in Rio de Janeiro this year, a crime that called global attention to security concerns ahead of the World Cup, Olympics and other major international events set to take place in the city.