Moved most integer operations to the new builtin infrastructure.
Self-review plus test fix.