Fix funding transaction output
This MR fixes two bugs in geelightning. Firstly, funding transactions' funding outputs weren't getting wrapped into P2WSH outputs. Secondly, there was a bug in the function that calculates channel IDs based on the funding transaction where the channel ID would be incorrect if the funding output wasn't the first output of the transaction. These are both fixed.
The MR also adds Debug
impls to the network message types to ease debugging.