use more robust heredoc syntax for updating the minion configuration

it appears that at some point configuration values containing ' snuck into the minion config. this patch will handle unescaped characters like that and many more
Merge pull request #828 from ewdurbin/develop

use more robust heredoc syntax for updating the minion configuration