Add tests verifying declaration of generated code is compatible
Fix newinstance to generate code declaration-compatible w/ base
Add test for "self" typehint
Merge pull request #11 from thekid/newinstance-typehints

Newinstance typehints
Merge remote-tracking branch 'upstream/master'