Adding preferences for network service discovery & repo name.

Now allowing network service discovery to be disabled (enabled by default). You
can also set a repo name which will be used for network service advertisement as
well as in the repo index.xml.