Add verification of compact signatures.

Per discussion in https://github.com/lian/bitcoin-ruby/issues/18.