Add AppArmor detection, and proper generation of LXC config.