PrimeFactors: Handle large integers.

- Enable bignum.
- Add alarm(1) to exit early if it's taking too long to compute (factoring is hard).