Fixes #2082: Reinforce universal newlines for orchestration template
Fixes #2082: Reinforce universal newlines for orchestration template

https://github.com/ManageIQ/manageiq/issues/2082
We now ensure every saved template content has newline character "\n"
and the last line ends with  a newline
(transferred from ManageIQ/manageiq@9978de13545ad24bf8e8fdcbd009b8391f1e318a)

ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic