end autoload classmap generated file with EOL

Make the file play nice in unix console.
end pluginmap generator output by eol
end templatemap generator output by eol
Merge branch 'hotfix/4154'

Close #4154
Merge pull request #4157 from garygolden/fix/classmap_generator_eol

end autoload classmap generated file with EOL
[#4157] Generated files should use unix lineending only

- However, anything `echo()`d to the screen can and should use `PHP_EOL`
  still.
Merge branch 'hotfix/4157' into develop

Forward port #4157