[RDY] Extract strings.c from misc2.c

Put various string handling functions in their own file. There are probably many functions in other files that can be moved into this one, I'll see what I can find. ref #209