Fix "fits in 32 bits" test.
Add smallint handling to various basic ops.

Gets us up to 8 passing tests in NQP's 60-bigint.t. Also adds much of
the infrastructure we will need to do the rest.