ISPN-2326 c3p0 not part of the release

* c3p0 dependency was ignored by maven assembly plugin because this dependency is referenced by multiple modules, in multiple scopes (including test scope). The processing order of modules (and their dependencies) becomes important because only the first one is considered, so if that happens to have 'test' scope it won't make it into the distro.  This is a consequence of a broader issue/limitation that is already documented in the plugin user guide and to overcome it we should avoid multiple moduleSets (not doable). The current solution consists of adding a FIRST moduleSet that aggregates all jar deps in 'proper' order and removing dependency processing from existing moduleSets.

* Made some trivial changes in bin.xml assembly to reduce the amount of text differences to all.xml (bin.xml is a subset of all.xml and any irrelevant differences should go away to simplify maintaining them in parallel)

* Force dependency resolution for commons-codec and commons-collections to use a global common version (otherwise they would diverge)

* Remove some duplicated dependencies in spring/pom.xml and  cli-server/pom.xml.
ISPN-2596 Create unit test for ISPN-2574

Add StateTransferRestartTest that highlights ISPN-2574 regression issue, contributed by Michal Linhard.
ISPN-2574 Segment transfer not restarted if the owner fails

* The already in-progress inbound task that was fetching from a leaver should have been cancelled before being retried. The existing code already took care of removing the old task and creating a new one but it should have also removed it from taskQueue and interrupt the task in order to unblock the transfer thread. InboundTransferTask.terminate() method was added for this.

* The logic that prevents two transfer threads running at the same time is broken and could also result in no thread running at all if the existing thread was about to exit but did not set isTransferThreadRunning to false yet. This means not all tasks in taskQueue were always processed.