Fixed bug in ed_set_sequence_sort(). It wasn't correctly handling the
variation of selection end < start.


git-svn-id: svn://svn.code.sf.net/p/staden/code/staden@3590 ba6f2710-ca9f-427c-89d3-5bf716dbc8e1
Added an automatic adapter detector. This works by hashing the
soft-clip and hashing the used data (FIXME: need to strip pads) and
then comparing the distributions.

Also reduced memory and potentially sped up on very long contigs by
doing shuffle pads in 32Kb windows. This avoids purging of memory
cache.


git-svn-id: svn://svn.code.sf.net/p/staden/code/staden@3591 ba6f2710-ca9f-427c-89d3-5bf716dbc8e1