Move the quote/unquote command line code into docker pkg

This is where it's currently used. If/when we do get another use
case for this code, then we can move it to the base package.