Replaced clumsy XML-welformedness checks

Announcement messages may contain HTML and/or other characters that
cause well-formedness problems when generating XMPP
notifications. Instead of removing < and > via regex, parse the
message as an HTML fragment with lxml.