CRM-13279 fix birthdate in participant report

With help from Deepak Srivastava the gender, birthdate and 'age at
event' fields now work correctly and efficiently.