Switch all EC and ECDSA logic from num to scalar.

This contains several commits, first some that introduce new functionality (and tests) for scalar, and then several steps of switching the actual logic from secp256k1_num_t based operations to secp256k1_scalar_t based one. For initialization, modular inverses, lambda splitting and tests, the num module is still used for now.