Add indices on journal tables

Improve at least WorkPackage show performance
Merge pull request #628 from opf/fix/add_journal_indices

Add indices on journal tables