pythongen: Add comments and minor refactoring
pythongen: Refactor
pythongen: Minor refactoring
pythongen: Add static typing
pythongen: More refactoring
pythongen: More refactoring
Fix overloads with default argument values

Fixes #18. Also fix keyword arguments with overloads.