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

Hopefully this helps redeem me from the utter embarrassment that is issue #38. ;o)