Performance improvements: store title persistently on object.

Store the title from the mail subject on the object, so that
we don't have to read the message for retreiving the title on access.
Performance improvements: Cache attachment infos on mail object.
Add upgrade step for updating new caches.
Performance improvements: cache headers for tabbed view.
Merge pull request #19 from 4teamwork/jone-performance

Performance improvements