Created a second set of C-only "API" headers.

These don't depend on Tesseract, so they can realistically be used from an actual C program. Renamed test program to ".c" extension, and updated CMake file.