Rebrand site.rc and user.rc as global.rc

Implement proposed logic for and close #928.

We can now use the `CYLC_CONF_PATH` environment variable to switch off global configuration or to provide mock global configuration in the test battery.

Add basic tests for `cylc edit` and `cylc search` for #916.