CRM-14621 Fixed rendering of date fields on On Behalf of profiles

----------------------------------------
* CRM-14621: Date fields not being rendered properly on "On Behalf of" Profiles
  https://issues.civicrm.org/jira/browse/CRM-14621
Merge pull request #3114 from Edzelopez/CRM-14621

CRM-14621 Fixed rendering of date fields on On Behalf of profiles