Refactored sig hash type in CTransactionSignatureSerializer
Summary: Continuing work on T61. Depends on D885.
Test Plan: make check
Reviewers: deadalnix, schancel, #bitcoin_abc
Reviewed By: deadalnix, #bitcoin_abc
Differential Revision: https://reviews.bitcoinabc.org/D929