Improve the copy to clipboard feature quite a bit

These commits make it possible to select and copy multiple cells/rows/columns in the table views of the browse and and SQL tab. This allows the user to copy, for example, to copy data to a spreadsheet application.