fix bug when proxied sites list from backend is not normalized

Primary button of proxiedSites modal now correctly says "Continue" when no local
changes have been made instead of "Update" when the proxied sites list from the
backend is not normalized.

Also added config to the window global as well as RootCtrl's scope (as "rootScope")
for easier debugging.