pylib: getNodesfromNames should always return a list

even when we invoke getNodesfromNames() without argument
we should return a list, and not a query.
tests: added more tests for kvm

now testing:
- dumps
- set host vm
tests: removed more useless function from test-lib

some useless function which worked only for git testing and
not for rocks testing