engrave: Factor out preview_options

DefaultJob and custom.makeCommandline both use the new
function command.preview_options to conditionally add
options for the debug modes
Merge pull request #210 from uliska/refactor-preview

engrave: Factor out preview_options