Renamed BAM I/O contig names, cache, lengths

See #640 and #523.

Unrelated: renamed extras test projects.