emulation: Change bracketed paste mode to per-terminal

https://bugzilla.gnome.org/show_bug.cgi?id=729533
(cherry picked from commit 07a3f97381112dad889b99211ce655b84858ed66)