better censorship of overall journals

Sometimes journal_events have a :project method, but no :project_id method.
We still use event.project_id if possible (it's faster) and fallback to
event.project.id.

see: https://www.openproject.org/issues/1461