Additional performance related to #2711

Mathematical operations extracted to own class. I used the quick modulu in the encoder part as well. Now the UUID benchmarks looks like this:

Before (on 2d9c8bd63d61b3b0efe4450774cbe37f023be2bf)
Benchmark                                             Mode   Samples         Mean   Mean error    Units
c.h.n.UTFEncoderDecoderBenchmark.testUuidUtilTest    thrpt        40  1350822.556    22437.135    ops/s

After (this PR)
Benchmark                                             Mode   Samples         Mean   Mean error    Units
c.h.n.UTFEncoderDecoderBenchmark.testUuidUtilTest    thrpt        40  1694053.879    20132.232    ops/s