lxc: bug and speedup

* Fix a bug in lxc.init (missing param in format())
* Move lxc.list logic into a generator, thus speeding up lxc.find_guest