Update cleanDirs() in MTPResponder test
[deviceinfo] remove Buteo::SyncDBusConnection from DeviceInfoProvider

Apparently Buteo::SyncDBusConnection exists to address QTBUG-11413.
However, analysis of the above bugreport indicates that there is
no bug and calling QDBusConnection::systemBus() before additional
threads are created, as msyncd already does, is enough to prevent
any race issues.
[tests] make StorageFactory_test compile and pass

Removed some obsolete test cases.
[tests] add testGetDevicePropValueAfterObjectInfoChanged()

This test case covers the bug fixed in 2bb60691:
 [storage] discard object's all cached properties on ObjectInfoChanged
Merge pull request #45 from xhaakon/update

Enable StorageFactory tests

This PR cleans up and enables a unittest suite that had fallen out of use.
It's installed as "storagefactory-test", not to be confused with the
fsstorageplugin unit tests which are installed as "storage-test".
Merge pull request #43 from amtep/update

[performance] Speed up reading from USB
[mtp] ignore storage ID sent in MTP object info

Some initiators leave this field zero. We should always take into
account only the storage ID parameter of MTP request. Not doing so
resulted in files ending up on the first storage (since ID 0 means
responder should choose), and if parent object was also specified, error
response with InvalidParentObject was generated.
Merge pull request #46 from xhaakon/update

[mtp] ignore storage ID sent in MTP object info
[storagefactory] prevent repeating mass queries with getChildPropertyValues()

Improves performance when sending many small files into the device since
GetObjectPropValue request on each new file (i.e. with values not yet
cached) used to trigger query on its whole parent association.
[tests] remember storage root path in StorageFactory_test
[tests] add utility StorageFactory_test::m_queryForObjSize
[tests] add a case testing excessive getChildPropertyValues() call prevention
Merge pull request #47 from xhaakon/master

prevent repeating mass queries with getChildPropertyValues()
[debug] Log a warning if the reader thread is waiting for the main thread