(maint) cron: Make the munge method for the command property more readable

The removal of leading and trailing spaces in cron commands was
performed using a perlism instead of just using String#strip.
Do that instead.
Merge pull request #2196 from ffrank/maint/cron-command-munge

(maint) cron: Make the munge method for the command property more readable