add license and setuptools configuration

- add MIT license: http://choosealicense.com/licenses/mit/
- add setuptools configuration
reorganize module structure
fix: travis and test_helper

update testing documentation in CONTRIBUTING.md