mattdrayer/api-migration-logging: Added logging to script exceptions

@chrisndodge @antoviaque -- per Xavier's recommendation I've added some logging to the data migration scripts to keep track of cases where the id is not able to be converted.

@martynjames @fredsmith, FYI