FAB-16353 More refactoring of endorser.go
FAB-16353 More refactoring of endorser.go

Change-Id: I5c4971effe60f9459ac7b40843feee08627ff089
Signed-off-by: Jason Yellick <3a1724207862302656e55e6f840a9996dad69e59@us.ibm.com>

muralisrini/fabric,hyperledger/fabric,manish-sethi/fabric-sidedb,muralisrini/fabric,stemlending/fabric,jimthematrix/fabric,manish-sethi/fabric,muralisrini/fabric,stemlending/fabric,manish-sethi/fabric-sidedb,manish-sethi/fabric-sidedb,manish-sethi/fabric-sidedb,manish-sethi/fabric-sidedb,binhn/fabric,stemlending/fabric,manish-sethi/fabric-sidedb,manish-sethi/fabric,jimthematrix/fabric,hyperledger/fabric,manish-sethi/fabric-sidedb,binhn/fabric,binhn/fabric,stemlending/fabric