Variable/string typo.
Add more is_* facilities methods.
Convert most of apt_* into pkg_* so that it works on Arch for what can.