Migrate to bitcoin from pybitcointools. Fix #552.

* Also upgrade to version 1.1.16.