abstract HTML cleaning code round 1

round 1 - improved removeCiteError and added removeLinks to
cleanHTMLService