[tests] Added storagefactor-test to tests.xml

Also removed some inaccurate comments.
It would be nice to change the suite and set names to reflect the
new package name, but that would mess with the continuity of
test results for no good reason.
[deviceinfo] initialize m_batteryLevel

issue found by valgrind
[tests] don't use global QEventLoop in protocol_test

QEventLoop complains if it is constructed before QApplication,
and this may be involved in a hard-to-reproduce segfault in
initTestCase. Move it into the function that uses it.