Added total_satoshis_sent and total_satoshis_received fields to the ListChannels RPC call.
When HTLCs are settled, the channel’s TotalSatoshisSent and TotalSatoshisReceived fields are updated.
This commit adds persistence for a channel’s TotalSatoshis[Sent|Received] fields. Also, the functions that perform this persistence were renamed from [put|delete|fetch]ChanTotalFlow to [put|delete|fetch]ChanAmountsTransferred.