Replace distutils with setuptools, specify install_requires

Changes to setup.py so that pip install will automatically install most dependencies.