sanestring: add module for misc common string sanity checks