(bug 16066) Inline history goes into endless loop and runs out of memory

When the inline history tries to display the history and notes together and the
last note is younger then all history items the next_entry function
will go into an endless loop crashing the server
Update for inline history
 * Fixed the descending history
 * Simplified and fixed the sorting and comparing with bug notes
Small improvements

 * Use isset instead of compating to NULL
 * Removed some code cuplication by exctracting logic to function
Fix infinite loop when there is only one history entry

Pull request #2
'Note added' filter does not respect language

Bug introduced in 00512f37e2ed9ba3f34bd0d43624fd9b2bfd834b

Signed-off-by: Damien Regad <dregad@mantisbt.org>

Edited commit message. Ref: Pull request #1
Links in the changes do not appear correctly

Prior to this, links in the history would be displayed as raw text (e.g.
bug_revision_view_page.php?bugnote_id=XXX#rY) instead of being converted
to hyperlinks.

Signed-off-by: Damien Regad <dregad@mantisbt.org>
Fix PHP notice in account_prefs_page.php

Function user_pref_update_form() was referencing an undefined variable
when user's preference was set to not view inline history.
Add README file
Update README.md

Remove unneeded subtitle, add hint to go to view.php and fix syntax error.
Update plugin author and contact details
Filter history by the type