Sri Lanka's Angelo Mathews became the first player to be timed out in 146 years of international cricket during a controversial Cricket World Cup clash with Bangladesh.