Fix edge-case handling in CRM.url - CLEAR YOUR CACHES FOLKS

This fixes potential collisions between placeholder strings and the site's url,
such as "init" and "placeholder".
Merge pull request #4006 from colemanw/crmurl

Fix edge-case handling in CRM.url
Fix CRM-13113. Do not try to foreach() an empty array.
CRM-15210 fix fatal on merge exports of non primary addresses
The relationship check is preventing the fields from being transformed
to the correct field names in contacts not-to-be-merged
The possibility of the object not existing is adequately handled further down in the
function. The check was added during svn-days but after 4.2.4
I no longer seem to be able to access what commit introduced it
CRM-15213 fix spelling of renewal
CRM-15215 - Fix api address validation
Merge pull request #4013 from colemanw/CRM-15215

CRM-15215 - Fix api address validation
WebTest Fixes 4.5
Merge pull request #4014 from jitendrapurohit/WebtestFix4.5.0

WebTest Fixes 4.5
Minor cleanup
Merge pull request #4011 from eileenmcnaughton/CRM-15213

CRM-15213 fix spelling of renewal
Merge pull request #4009 from eileenmcnaughton/CRM-15210

CRM-15210 fix fatal on merge exports of non primary addresses
Merge branch 'fuzionnz-CRM-13113' into 4.5
Merge remote-tracking branch 'upstream/4.4' into 4.4-4.5-2014-09-01-22-48-29