added check_java_valid to os_utils.py; adjusted imports for setuptools; abstracted dpkg returncode and output implementation in pm_utils.py; corrected package inclusion in setup.py