Add support for VMD's hexadecimal atom number cycling in PDB files and improve
behavior for residue number cycling.