Demo merge of libsecp256k1 and determinsitic signing

Includes #5256, #5227 and #5220.