Emulate X11 copy/paste mode

This is a feature that I'm often requested for.

This patch add an option to emulate X11 copy/paste :
- on selection (mouse dragging or double/triple-click), selected text is automatically copied
- on middle-click (MouseEvent.BUTTON2), clipboard is pasted

Although this is optional, there is no conflict with copy/paste shortcut.