Add tolerant parsePDB2 record handling and logging.

Allow parsePDB2 to handle PDB records by whitespace-trimmed name and add
logging of parsed atoms.
Add simple element resolution from atom names.