Rename "site" to "domain" in code

We deprecated site in favor of domain in user interfaces.
There are still some references to "site" in the code.
This will help prevent confusion for helios developers.