script: add CScriptNum class
This class holds an int64_t and replaces the use of CBigInt for script integrals.