TST: add testing and start refactoring
ENH: add to_json
Merge branch 'dev' of https://github.com/TomAugspurger/dota into dev

Conflicts:
	dota/api.py
	dota/tests/test_api.py
fix HERO_NAMES after update