added doc files
fixed warnings for some c printfs
*	modified:   Makefile.am
*	modified:   configure.ac
*	modified:   doc/Makefile.am
*	new file:   doc/index.php.in
*	new file:   doc/mainpage.c
*	modified:   ghfcns.c
*	modified:   ghfcns.h