Renamed BAM I/O contig names, cache, lengths

See #640.

Unrelated: renamed extras test projects.