Plugin: user service - add new request type: grouplist & usergrouplist which returns xml with groupnames elements containing all group names or group names of a user.
Update shipped truststore to match Mozilla's shipped CAs

I don't think we should be maintaining our own set if at all possible, this
patch was created by creating a new keystore and inserting every certificate
from an Ubuntu system's Mozilla ca-certificates set:

rm -f ./src/security/truststore
for x in /usr/share/ca-certificates/mozilla/*.crt; do
	y=`basename -s .crt $x`
	keytool -import -storepass changeit -keystore ./src/security/truststore -alias $y -file $x -noprompt
done
OF-405 : Perform proper path validation on certificate chains

What this patch actually does is place existing certificates into a CertStore,
including those from its (untrusted) keystore, the trust store, and any from
the chain supplied by the peer, and then rebuild a chain back to a known trust
anchor (from the trust store).

This strategy will cope with unknown ICAs in chains, abbreviated chains, and so
on, and replaces attempts to specifically handle self-signed certificates.

That last said, there is an explicit shortcut to handle self-signed certificates
which are supplied as end-entity certificates. These are simply checked against
the trust store without any attempt to build a path.
OF-405 Addressing review comments from Simon White
OF-405 Addressing comments from Tom Evans

 - Always check validity of EE Cert
 - Change variable name (and flip sense).
Fixes to javadoc build warnings

Some small javadoc fixes to remove warnings during build
OF-405 Comments from Sven Bunge addressed
OF-819 IQs of type error get falsely routed to IQ.createResult() which results in an Exception and connection termination

This can happen, if the session is in wrong status (e.g. if the user has not yet authenticated) and the client responds with an error IQ.
Only reply to an IQ if it is type get or set.
Fix 'RFC 6121 8.5.1.  No Such User' for IQ stanzas

IQ stanzas, which were routed to a non-existent user were falsely replied to with an IQ-result (e.g. ping).
This fix checks for the existence of the user and returns an error, in case the user does not exist.
OF-397 Do not deliver offline messages to clients with negative priority

As per RFC 6121 8.5.2.1.1. Message and XEP-0160
OF-818 Message routing to bare JID can route to negative priority resources

This commit fixes the regression, that was introduced with the addition of Message Carbons.
Message Carbons are delivered to all non-negative sessions.
If there's no Message Carbons-enabled session, it will be delivered to the highest priority session only.
OF-805 [MUC] OF does not return all affiliated users when requesting multiple affiliations

When requesting:
<iq type="get" to="6ace0fd2f59f13c2484336dd06b4462a@bizmanager.msz006" id="getRoomMemberList">
<query xmlns="http://jabber.org/protocol/muc#admin">
<item affiliation="member"/>
<item affiliation="owner"/>
<item affiliation="admin"/>
</query>
</iq>

Openfire does only return admins (the last requested affiliation).
This fix rectifies this.
Remove dispensable logic in the IQOwnerHandler, which deals with MUC affiliation changes

MUC affiliations are managed in the #admin namespace, not in the #owner namespace.
This is already a minor contribution to OF-178 (Updating MUC to latest version).
Correct the target handler in MUC Admin UI (which should be IQAdminHandler)

(instead of IQOwnerHandler)
Remove activation.jar - It's bundled since Java6
Ignore .DS_Store files
Add ohloh badge to README.md
OF-823 Numeric overflow in MUCPersistenceManager when loading history older than 24 days.
OF-818 Move isEmpty() check before filtering for highest prio sessions
Add plugins target to Makefile