Fixes undefined method 'notes' error from r3594
Removes broken links in wiki syntax help page (#5081).
Inlines some code to speed up large ticket history rendering.
Fixed: Wrong label in issue-journal for subtask-changes (#5090).
Upgrade CodeRay to 0.9.2 (#3359).
Refactor: Split the find_object methods to prep for a larger refactoring.
Close unclosed pre/code tags (#4265).
Do not parse redmine links inside pre/code tags (#1288).
Extract parsing of inline attachments, wiki links and redmine links.
Fixed closing tags in syntax highlighting tests.