Check that all po/pot files are valid

Perform minimal checks on po and pot files so that no broken files can
get imported.

Change-Id: Ifff7936988d2eee05072eb4d76b0e3a678c3d476
Co-Authored-By: Clark Boylan <clark.boylan@gmail.com>
Related-Bug: #1299349
Merge "Check that all po/pot files are valid"