travis setting

Run Travis CI tests for the Python package. To enable Travis CI, a few changes to setup.py were necessary.