Fix filter issues

1. proper escaping of HTML entities in IRClinky. Fixes #525 
2. fix for DOMfilter sometimes not replacing all occurrences