Fixed compile test error.
Changed Triplet sorting and compare. Now it behaves according to java specification.
Fix javadocs and remove duplicate code
Merge remote-tracking branch 'toni/master'

Conflicts:
	src/es/csic/iiia/maxsum/TickCommunicationAdapter.java