T2972
Port outputScriptToAddress function from alias-server to enable parsing txs for send and receive addresses. No unit tests are added as the existing bot output parsing unit tests will cover this sufficiently once tg msgs include this data (and bc unit tests exist in alias-server, so it wouldn't make sense to just duplicate them).
If I start needing to do this with other util functions, would eventually make sense to put them all together in a tree-shakeable library. Not yet though.