strutil: Moved registry functionality into string utility library