Fix for AttributeError and deprecated lxc-list function

- lxc-list is deprecated in LXC 1.0 for lxc-ls.
- Fixed AttributeError caused by 'current = None' in all_as_dict