Add --public-key-compression option.
Don't default to generating uncompressed public keys from private keys,
unless we are explicitally told to.
Add more error checking and sanity checking.
Add applog() function as a wrapper for error/log output, so we can
format it from one place.