add assembly.gaps.annotate() to annotate AGP with gap linkages; various modifications for AGP v2 compatibility