include modpi etc. in the documentation. Don't export pi-related constants.
for modpi(Int64), we check that the argument converts to a float64 losslessly, and throw an error otherwise.
hardcode pi-related constants. Extend mod2pi, modpi, modpio2 to Ints.