fixes #39 - corrects signature_hash for SIGHASH_SINGLE on input index > 0; adds ability to verify legacy SINGLE_HASH transactions; adds TxIn to tx/__init__.py for consistency with Tx and TxOut