Network manager integration

Use NetworkManager over DBus to detect if a network connection is available before we attempt to retrieve location information.