Use NetworkManager to detect online status

Authored by dvratil on Sep 4 2017, 8:40 PM.

Description

Use NetworkManager to detect online status

Unliked Qt's NetworkConfiguration, NetworkManager gives us additional
information about connectivity (e.g. if we are behind a capture portal).
We only use QNetworkConfiguration as a fallback when NM is not available.