Optimize ArticleStorageDB->ArticleAttachmentIndexRaw

by only calculating ContentPath if it is needed
Merge branch 'optimize-article-attachment-index-raw' of github.com:moritz/otrs