update travis file to astropy/package-template
add travis builds without optional dependencies
skip test_plotting if emcee or matplotlib not available
skip onezone tests is scipy is not available
remove unused matplotlib import in test
use six where appropriate, add setup_package to avoid 2to3
use six in examples
use six for stringIO
fix typo and StringIO call

Conflicts:
	gammafit/onezone.py