[build] remove nonexistent ptest.h from HEADERS in test.pro

Fixes a warning during build.
Remove pre-Qt5 compat code from DeviceInfoProvider::getSystemInfo()
Allocate temporary QDeviceInfo on stack

Just why complicate things when they don't have to be?
[deviceinfo] send both OS and HW adaptation versions in MTP device info

Example version string now:
 1.0.4.385 (Ohijärvi) (armv7hl,devel) HW: 0.0.3.188 (armv7hl,devel)
Merge pull request #42 from xhaakon/update

send both OS and HW adaptation versions in MTP device info