Monkeys living on Gibraltar have learned to swallow soil to settle their stomachs after eating sweet and salty snacks offered or stolen from tourists, according to a Cambridge University study.