Adds a button for exporting textfile.

Adds a button that let's the user to save the text
in the right hand side textbox into a separate
text file.

signed-off-by: Iikka Pohjola
<iikka.pohjola@cs.tamk.fi>
Merge remote-tracking branch 'iikka/feature' into devel