allow a radix to be supplied to Integer.digits

This means Integer.digits/1 is now Integer.digits/2 (but with an
optional argument so it can still be called as base10 in the common
usage)