Backported pow_mod,pow,mul_mod,gcd and prime related to BigNum for ZC.
Reordering of files. CMake builds the ZC lib now.
Tweaks.