Implement BIP62 rules 2, 3 and 4

It will.

But whenever I write code I try to mimick the style of the code around it. Once we effectively apply clang-format, that will be the same style everywhere.