Merge #156: Allow attachments to be save to directory with default filename

Squashed commit of the following:

commit 0d8c10fd85ea2942977670d372df635799fcdb39
Author: Gaute Hope <eg@gaute.vetsj.com>
Date:   Wed Oct 2 10:55:44 2013 +0200

    add note to history

commit a8ac40049110992cde8872b54f4d069e154d0147
Author: Gaute Hope <eg@gaute.vetsj.com>
Date:   Wed Oct 2 10:50:10 2013 +0200

    Allow attachments to be saved to directory with default filename