[Cashtab] Support parsing p2sh addresses in tx history
Summary:
T2865 and pre-req for T2945
Add new function outputScriptToAddress that converts a given outputScript to the correct address type.
Note: a later diff (not stack) will add P2SH support to the hash160ToAddress function.
Test Plan:
grep -r originatingHash160 src/ to confirm its omission only impacted unit tests and not any app functionality
npm test
Reviewers: #bitcoin_abc, emack
Reviewed By: #bitcoin_abc, emack
Differential Revision: https://reviews.bitcoinabc.org/D13173