Use C99 and pedantic CFLAGS.
remove utf8 to char conversion helper function.

just use the \uXXXX escape sequence instead.
put license to its own file.
add gitignore
build system overhaul