CRM-11864 - qa bug fix - change function to static and fix calls

----------------------------------------
* CRM-11864: Embed form-designer in event and contribution UIs
  https://issues.civicrm.org/jira/browse/CRM-11864
Merge pull request #3056 from ginkgomzd/CRM-11864-fixes

CRM-11864 - qa bug fix - change function to static and fix calls