Fix check_container_running to work with any versions of LXC

The original 'check_container_running' can only work with lxc 0.9.0,
but now can work with any versions.
Merge pull request #155 from tenforward/fix_lxc

Fix check_container_running to work with any versions of LXC