Application: update endpoint URLs
Application: update endpoint URLs

Update the application domain URLs for the backend migration.  These
URLs are likely what we will use in the final deployment, so update the
URLs to enable testing.

Take the opportunity to simplify some of the logic for the URL
computation.

AgaKhanFoundation/WCF-iOS,AgaKhanFoundation/WCF-iOS