Edit various shell scripts to improve compatibility to POSIX sh.
Trap also signal 1 (HUP) and 15 (TERM) in 'cpuburn' and 'mprime'.
More compatibility to POSIX sh. (Eliminated as many bashisms as possible.)