show scriptSig signature hash types in transaction decodes. fixes #3166

show scriptSig signature hash types. fixes #3166

Please give this a look and let me know if you'd like it changed or if I mis-understood the issue request.

The fix basically appends the scriptSig signature hash types, within parentheses, onto the end of the signature(s) in the various "asm" json outputs. That's just the first formatting idea that came to my mind.

Added some tests for this too.
the reason why i went with SCRIPT_VERIFY_STRICTENC was because in CheckSignatureEncoding, SCRIPT_VERIFY_STRICTENC will get us some checking through IsDefinedHashtypeSignature as well in order to make sure that the hash type is one of the defined types. if it's not a defined hash type, then no decode gets appended to the hex encoding of the signature.