Change checkbignum() to testbignum() inside assert().
Implement getbn().
lua_tonumber returns 0 if it can't convert.
Optimize __add, __mul and __unm.

In __unm, the argument is always BIGNUM.
In __add and __mul, if the first argument is not BIGNUM, the second is.