(#18950) Add modulo operator

The modulo arithmetic operator.
Update PUPPETVERSION to 3.1.0