Extracted common logic to defun

Extracted the logic for wrapping a region with delimiter characters into
a single method with args. Made interactive add-quotation etc use this
new defun