CLEANUP: assorted typo fixes in the code and comments

These are mostly comments in the code. A few error messages were fixed
and are of low enough importance not to deserve a backport. Some regtests
were also fixed.
diff --git a/reg-tests/spoe/wrong_init.vtc b/reg-tests/spoe/wrong_init.vtc
index ce4e16f..75d8da6 100644
--- a/reg-tests/spoe/wrong_init.vtc
+++ b/reg-tests/spoe/wrong_init.vtc
@@ -2,7 +2,7 @@
 # BUG/MINOR: spoe: Initialize variables used during conf parsing before any check
 #
 # Some initializations must be done at the beginning of parse_spoe_flt to avoid
-# segmentaion fault when first errors are catched, when the "filter spoe" line is
+# segmentation fault when first errors are caught, when the "filter spoe" line is
 # parsed.
 
 #REGTEST_TYPE=bug