Wrappers for ntheory

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