add agp trim components of dangling gaps, add agp.tidy for streamline agp cleanup
add agp trim components of dangling gaps, add agp.tidy for streamline agp cleanup

tanghaibao/jcvi,sgordon007/jcvi_062915