Mass-typo fixing, almost exclusively in comments and text strings. While at it also fixed a few (very few) grammar errors.
with #861 internal.h, includes sc-ossl-compat.h which requires openssl header files. the tests/Makefile.am did not include the openssl CFLAGS.