use the standard OPM license statement more files

(and correct the names of a few guard macros.)
update the in-file copyright lines

these where determined using `git blame` and are thus just best guesses.
remove the emacs c-basic-offset:4 local variable for emacs

these have been replaced by the modelines at the beginning of the file.