Add and use an integer exponentation method

I don't want my exponents to suffer round-off error; I want the full
32-bit range of int, uncompromised by the smaller range of the double
data type. To that end, I introduced an exponentiation-by-squaring
implementation of pow and added it to GcdUtils (which is increasingly
becoming MiscMathUtils).