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.
Merge pull request #152 from University-of-Auckland/aaf-develop

MigrScripts: escape apostrophe in email address
Merge branch 'aaf-develop' into code-develop
Merge branch 'code-develop' into tuakiri-develop