Let user save the log to a file

We only display the log in the window. The user might want to save it to a
file. Add a button under the log box, similar to the Shared tab. Make it
ask for a file name and save the log to that file.

Signed-off-by: Marcus Karlsson <mk@acc.umu.se>