Added a "global discoveryLocation" to configuration, following the essence of #175.

This commit closes #175.