Chris Gayle struck the fastest century in cricket history for the Bangalore Royal Challengers on his way to recording Twenty20's highest score.