Added convenience import paths and improved the base command check_program() and check_command() methods to handle raising CommandError on failure.