Allow inhibiting history entries for incoming messages

New variable `jabber-history-inhibit-received-message-functions'
can contain a list of functions.  If any of them returns non-nil, the
given incoming message is not included in the message history.