Seagulls have worked out school break times to increase their chances of foraging food, according to a new study.