add isCanonicalSignature check to script interpreter and tests
Merge pull request #167 from matiu/feature/IsCanonicalSignature

add isCanonicalSignature check to script interpreter and tests