Backport PR #4649: added a quiet option to %cpaste to suppress output

Useful when, e.g., using ipython as the interpreter for emacs org-mode.
Emacs copies python code from one buffer to ipython and can use the output
in the original buffer. Using `-q` will remove unwanted output.