Desmond Morris
Desmond Morris in "Gestures: Their Origins and Distribution" traces the practice back to a medieval custom used to seal business transactions. Over time, the mere sight of an upraised thumb came to symbolize harmony and kind feelings. For an example in the seventeenth century see the Diego Velázquez painting "The Lunch".