Add student email to the results spreadsheet   #2582

Fixes for adding student email next to student name in CSV file generation
Use extra parenthesis to improve readability. e.g. 
`isNameForEmail = ( name == null ? false : name.equals(email) );`