Much improved error and db checks.

Parse PGN now errors if db entry previously defined.

Score pgn much improved behaviour if db found unexpected.

Odd issue with dockerfiles failing when repo added. Dockerfile changed.