CRM-14949 - Move jQuery validate strings and other l10n settings to a dynamic js file

(Resubmission of https://github.com/civicrm/civicrm-core/pull/3629 with additional changes)
return str_replace('persist/contribute', '', $config->imageUploadDir) . '/dynamic/' . $fileName;