CRM-12061 fixes bulk contribution saves for custom data fields

Only the 2nd issue in CRM-12061 is part of this patch.  It's a one-liner as illustrated here:
https://github.com/civicrm/civicrm-core/commit/df1f662a210eb7fadc89c60ae84f27c7be967607#diff-0