Platform independent new line replacement for JST templates

PHP_EOL will basically only replace \n, at least when running on *nix based server, so if template files are using Windows style line breaks (\r\n), they will not be minified to one line, causing JS errors as referenced in issue #190. This will replace any kind of line break (\n, \r\n or just \r).