bsddb is not always needed nor available
extract_public_key allows setting address version and returns (none) on struct error for consistency
Merge pull request #25 from nelisky/tweaks

Tweaks to allow using a subset of the lib and altchains