ISPN-4942 Make uber jars compatible with OSGi
ISPN-4942 Make uber jars compatible with OSGi

Work-around for http://jira.codehaus.org/browse/MNG-5539
Plugin execution order breaks when a plugin is present both in the module
and in an active profile (in this case running with -Pdistribution).
ISPN-5024 Fix build problem in IDEs
Implement purgeOnJoin

The joiner will still do the preload, but the entries will be removed from
the data container.

Also includes a fix for ISPN-3217 (entries not written to the cache store
on a backup owner with CACHE_MODE_LOCAL).

A hack was needed to avoid triggering ISPN-3443 (state transfer undoing the
remove operations).