Add DB expressions for raw sql, dates, strings, and functions.
Add counts to message pager.
Add XMPP info discovery.