Redmine#3870: acceptance test to ensure an empty template empties the file
Merge remote-tracking branch 'tzz/test/redmine3870-ensure-empty-template-empty-file'
Always empty file on edit_template

Close #3870