add Xutils.tally, Xprimes.prime_factors and Xmath.proper_divisors2 (uses prime factorization).  Also add tests for these new functions, and for some existing functions.