Calculate checksum for short ISBNs

Test:
Add a book where I only specify 9 of the ISBN digits; check that the correct 10-digit ISBN is output.
Notes:
String futzing always takes me a surprisingly long amount of time.

david carlton <carlton@bactrian.org>

Last modified: Sun Mar 2 10:59:26 PST 2008