Script: Add CA population script.

Initially contributed thanks to Vladimir Mencl for FR 1.x.

This commit updates the script to work with FR 2.x and assigns missing
data to the CA records within the database.