Removed __main__ script than ran doctests.
Added travisci file and added test command to setup.py