added some documentation on the build process
add index file for documentation
minor makefile cleanups

- check_PROGRAMS, CLEANFILES, and TESTS are common to all test-makefiles,
  so we put them into testprog.am