Add copay support methods

This PR adds some support methods for copay's new tx proposal verification. Will add tests in a later PR for the following:

- Script#isPubKeyHashScriptSig
- Sciprt#countSignatures
- Transaction#getHashType(inputIndex)
- Script#getSignatures
- Script#getHashType