This revision enhances the !cast operator so it can cast bit and bits to string. It could already cast int to string.
I added a test for this change.
Note that allowing !cast to handle bit and bits means that the paste operator (#) can concatenate them.
clang-format: please reformat the code