Set portage._working_copy bool variable.
egencache: Support --repositories-configuration option.
Use PORTAGE_REPOSITORIES in test suite.
Move default configuration of repositories from /usr/share/portage/config/make.globals
to /usr/share/portage/config/repos.conf.
Use consistent paths of repositories in test suite and clean some code.