CRM-15171: fix variables in Register.php
Merge pull request #4003 from civicrm/4.5

Merge branch 4.5 into master
Merge pull request #4005 from civicrm/4.5

Partially revert 5dac229eb87
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
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
Fix dynamicResourcepath for windows systems (again)
Merge pull request #4016 from colemanw/Fix

Fix dynamicResourcepath for windows systems (again)
CRM-15211 fix outdated permission
CRM-15211 fix outdated permission
Fix undefined index warning
Merge pull request #4017 from demeritcowboy/CRM-15211

CRM-15211
Merge pull request #3984 from yashodha/CRM-15171

CRM-15171: fix variables in Register.php