CRM-14327 and CRM-14400

consists of fixes for https://issues.civicrm.org/jira/browse/CRM-14327 and https://issues.civicrm.org/jira/browse/CRM-14400

Migration of Multi-record custom data and Multi-record profile old style popup to livePage ajax