CRM-15193 - Support front/back end modes in CRM.url
Add cacheCode to dynamic resource urls
Reset cacheCode when flushing dynamic resources
CRM-15193 - Ensure profile create links go to the backend
Merge pull request #3972 from colemanw/CRM-15193

CRM-15193 - Support front/back end modes in CRM.url