Added three new standard templates, same as PUBKEY, PUBKEYHASH
and MULTISIG but with hash preimage check at the beginning.