A few more SIGHASH fixes

corrects the constant for SIGHASH_ANYONECANPAY and adds support for
hashcode in the sign function for standard payments