CRM-15556 fix - Checkbox custom field error of OnBehalf profile on online contribution's confirm page

https://issues.civicrm.org/jira/browse/CRM-15556
Additional fixes
typo fix - debug
Merge pull request #4494 from monishdeb/CRM-15556

CRM-15556 fix - Checkbox custom field error of OnBehalf profile on online contribution's confirm page