make database healthcheck cross database

fix fo #1258
Escape line-feeds too in escapeXMLEntities otherwise breaks when title contains a \n (bug #1229)
Fixed bug - ID on help tags were being duplicated which was causing tooltip to popup next to incorrect location.
Merge pull request #82 from ianwallen/2.8.x

various changes