Accept any signature hash type

The reference client doesn't check for an invalid signature hash type
and treats it as SIGHASH_ALL.  So we need to do the same.