Add StringUtilTest class, fix typo in JavaDoc and add documentation to StringUtil class.