Copy to clipboard from results window

Also adds a rudimentary Scala wrapper for JPopupMenu, which may be
useful in other contexts.

Closes #3
Change version to 0.5.7