MigrScripts: escape apostrophe in email address

In scripts/upgrades/major-release/2/createSQLDataMigration.groovy,
escape apostrophe in email addresses in generated SQL code (escape as a
double apostrophe).

Also escape in the same way (double apostrophe) apostrophes in subject
full name - previously removed.