Fix failing doctests in Travis environment

The list of algorithms and digest methods available on the Travis CI machines for GnuPG2 differs from the list available on my OS X machine. I fixed the doctests for these property getters so they're tolerant of different environments.