fixes added for clang compile on mac

Fixes compilation problems on mac, by moving `mt_state` completely to the c-part of the code. The api is now a c-function called `initialize-random-kit` that is called form the cython library (thanks to @orbitfold )