Use subprocess instead of commands

commands is deprecated in 2.6+ and removed in python 3.  subprocess is
the new way forward.  The very useful check_output is only in 2.7 or
newer, so use kitchen to get the newer code on older systems.