Fixed lp:1353443 - no modprobe in lxc containers

Since the introduction of the networker, in some cases we
might encounter a Permission denied error when trying to
run "modprobe 8021q" (i.e. load the driver for VLAN support).
This happens only when the worker is running inside an LXC
container. With this fix, this doesn't happen anymore.
    return len(parts) > 2 && parts[len(parts)-2] == "lxc"

and please add a unit test for isRunningInLXC as discussed.
(perhaps make it a function that takes an id as argument)