Add CalcScriptInfo entrypoint to return info about scriptpairs.

Specficially the class of the pkScript, the  expected numbers of
arguments and the number of sigops.