Rewrite of contig_insert_base2.

The new version is much shorter and less byzantine than the previous one.



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