splits "check" into "check and fix" actions

this will enable .pre scripts later
add .pre scripts

.pre scripts are only run for overlayed files and dirs,
not for dirs whose content have changed, and not for deletions
Merge branch 'pre-scripts'

add pre-scripts with extension ._pre
They run before "fixing" the file
document .pre scripts