Wrappers for ntheory

Wrappers for all functions in `ntheory.h` except `bernoulli(ulong n)`.