Add utf8proc library and CMakeLists
Move loop index declaration out of loop head for ANSI C conformance
Implement UTF-8 string encoding