Allow searching a term in a specific release file

Change-Id: I4a926c140101165a78107ae9d65f974d1b14b868
Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
Strip optional quotation marks from version string

Change-Id: I072ef04026486d2591ef5f5143edb89c4299eb85
Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
Prefer VERSION_ID from /etc/os-release as QDeviceInfo::Os

On Sailfish OS, where /etc/hw-release exists, QDeviceInfo::version()
used to wrongly return hardware adaptation VERSION_ID from that file as
the first value discovered by QDeviceInfoPrivate::findInRelease().

Thus, we look into /etc/os-release first. If the version isn't found,
the method resorts to the previous behavior.

Change-Id: Ia10c5d7b9cff83ab3006253931ca5a79f2e7c65f
Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
Prefer HW adaptation version as QDeviceInfo::Firmware on Sailfish OS

On Sailfish OS, HW adaptation version is stored in /etc/hw-release.
If the value isn't found, QDeviceInfo::version() returns the kernel
version as before.

Change-Id: If742d2af1f719f45a59f4a937e18590060478651
Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
get model from hw-release

Change-Id: I0d1bc0e943295cbaa43c2e5470acb24ed92fa63f
Reviewed-by: Jakub Adam <jakub.adam@ktknet.cz>
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
try harder for unique ID, use wlan mac addy

Change-Id: Iac5112c6a781620f71de33e0dbc07041e91c0312
Reviewed-by: Jakub Adam <jakub.adam@ktknet.cz>
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
prefer os-release for operating system name

Change-Id: I5b945948a17dbb830cdd451758c584d69eed7d24
Reviewed-by: Jakub Adam <jakub.adam@ktknet.cz>
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>