Cache signature verification in CTxIn.

Remember (in memory only) for each CTxIn when its signature has already
been checked.  Don't recheck it in this case.
Merge pull request #157 from domob1812/cache-ecdsa

Cache ECDSA signature verifications.