Fix for the numbering of the TER record and subsequence HETATM records in the PDB file creation.
The structure.write_pdb user function now creates the correct TER record after the ATOM records, and the HETATM records are renumbered if needed.
Authored by: bugman 2011-11-23
Parent: [r15010]
Child: [r15012]