Migrate to bitcoin from pybitcointools. Fix #552.

* Replace privtopub with privkey_to_pubkey.