Add python_test, more exclusions

Fixes #289
Fix git/hg repo tests
Fix license

Fixes #299
Add python-argparse dependency
Merge branch 'improved-ebuild' into develop