Script: detect and parse P2SH and multisig scripts

Basic script classification and data extraction.