ENHANCEMENT: Allow setting of canAttachExisting and canPreviewFolder

#62 Squashed
Merge pull request #73 from purplespider/62-squashed-2

NEW: Allow setting of canAttachExisting and canPreviewFolder