Fixes Wiki change notification mail contains invalid diff link
present correct questions for deletion of documents
Adds a comment explaining why the version is incremented by 1
Adds a spec that tests the wiki_content_updated method
Merge pull request #1039 from opf/fix/wrong_diff_on_first_wp_journal_entry_5322

Don't rely on journal record id to find predecessor and use version instead
Merge pull request #1042 from opf/fix/migration_correct_attachement_deletion_message

present correct questions for deletion of documents
Update CHANGELOG.md
Fixed double rendering of attachments and repository annotates
Merge pull request #1041 from netfighter/bugfix/4701_wiki_change_notification
Add changelog entry
Merge pull request #1043 from opf/fix/double_syntax_highlighting_output

Fixes double rendering of attachments and repository annotates
uses named routes for topics/boards

This fixes the ugly routes displayed in the forum (e.g. https://www.openproject.org/topics/896?board_id=6) and shortens the code on top.

Unfortunately, the link_to_if_authorized helper does rely on the hash form for urls. Not all urls could be changed because of that.
Merge pull request #1044 from opf/fix/forum_urls
Add changelog entry
Add OpenProject::Notifications as publish/subscribe mechanism

This allows code to register for certain events, we might later use
this later e.g. for sending mails on specific events like WorkPackage
updates.
Merge pull request #1047 from opf/feature/notifications

Add OpenProject::Notifications as publish/subscribe mechanism
add entry for notifications to changelog
Attach event handler for async loaded elements
Fix cuke

Disable warning message about unsaved data that is don't needed here.
Merge branch 'bugfix/2393_warning_message_when_leaving_site_without_saving' into dev