Adding proper error/success formatting for chaincode invoke
Adding proper error/success formatting for chaincode invoke

Adding proper error and success response formatting for chaincode
invoke inside of processChaincodeInvokeOrQuery.

Signed-off-by: Anna D Derbakova <cb07a20babc77f39c5c49d18f5b5475e27c41c83@us.ibm.com>

murali-katipalli-dtcc/fabric,bren3582/fabric,andresgaragiola/fabric,itp4IBM/fabric,adecaro/fabric,tuand27613/fabric,jjjjibm/fabric,openblockchain/obc-peer,ariccy/fabric,binhn/obc-peer,bburgdave/fabric,gongsu832/fabric,popldo/fabric,openblockchain/obc-peer,bren3582/fabric,ahuachen/fabric,tuand27613/obc-peer,popldo/fabric,murali-katipalli-dtcc/fabric,itp4IBM/fabric,JonathanLevi/fabric,itp4IBM/fabric,srderson/fabric,ahuachen/fabric,srderson/fabric,bren3582/fabric,rameshthoomu/obc-peer,andresgaragiola/fabric,itp4IBM/fabric,adecaro/fabric,binhn/obc-peer,hyperledger-archives/fabric,andresgaragiola/fabric,popldo/fabric,tuand27613/fabric,ariccy/fabric,hyperledger-archives/fabric,hyperledger-archives/fabric,itp4IBM/fabric,rameshthoomu/obc-peer,angrbrd/fabric,ahuachen/fabric,gennadylaventman/fabric,gromeroar/fabric,hyperledger-archives/fabric,bren3582/fabric,tuand27613/fabric,angrbrd/fabric,tuand27613/fabric,srderson/fabric,gennadylaventman/fabric,andresgaragiola/fabric,gongsu832/fabric,popldo/fabric,jjjjibm/fabric,ahuachen/fabric,srderson/fabric,hyperledger-archives/fabric,gennadylaventman/fabric,murali-katipalli-dtcc/fabric,murali-katipalli-dtcc/fabric,gromeroar/fabric,tuand27613/obc-peer,ariccy/fabric,adecaro/fabric,hyperledger-archives/fabric,adecaro/fabric,ariccy/fabric,angrbrd/fabric,ariccy/fabric,jjjjibm/fabric,tuand27613/fabric,andresgaragiola/fabric,gongsu832/fabric,ahuachen/fabric,gromeroar/fabric,isghe/obc-peer,hyperledger-archives/fabric,murali-katipalli-dtcc/fabric,openblockchain/obc-peer,jjjjibm/fabric,JonathanLevi/fabric,JonathanLevi/fabric,bburgdave/fabric,adecaro/fabric,andresgaragiola/fabric,gromeroar/fabric,isghe/obc-peer,popldo/fabric,ariccy/fabric,JonathanLevi/fabric,gennadylaventman/fabric,srderson/fabric,gennadylaventman/fabric,isghe/obc-peer,murali-katipalli-dtcc/fabric,jjjjibm/fabric,isghe/obc-peer,tuand27613/fabric,gongsu832/fabric,bburgdave/fabric,jjjjibm/fabric,angrbrd/fabric,murali-katipalli-dtcc/fabric,srderson/fabric,JonathanLevi/fabric,gennadylaventman/fabric,gennadylaventman/fabric,ahuachen/fabric,adecaro/fabric,ariccy/fabric,itp4IBM/fabric,bren3582/fabric,angrbrd/fabric,rameshthoomu/obc-peer,ahuachen/fabric,tuand27613/fabric,bburgdave/fabric,JonathanLevi/fabric,bren3582/fabric,gromeroar/fabric,gromeroar/fabric,jjjjibm/fabric,gromeroar/fabric,JonathanLevi/fabric,angrbrd/fabric,bburgdave/fabric,srderson/fabric,popldo/fabric,isghe/obc-peer,binhn/obc-peer,andresgaragiola/fabric,itp4IBM/fabric,popldo/fabric,angrbrd/fabric,bren3582/fabric,adecaro/fabric,tuand27613/obc-peer