Refactor and include internalNetworks method

Used by dns and openchange modules
Tune OCSManager configuration for autodiscover
Merge pull request #1540 from Zentyal/ejhernandez/conf-autodiscover

Tune configuration for Autodiscover service