Revert "Revert "test cases for the new features""

This reverts commit b5e02f066b7c0938fd3c6d81faff30b0b474e5f0.
remerge "Fixes #267"
Revert "Revert "bugfix: emulated thread vars used in combination with the mark & sweep GC""

This reverts commit e91ee7b640a6dcaa309034b17a494a4581427a4a.
remerge "allow void as field type"
Revert "Revert "allow keyword params for the `[]` and `{}` operators""

This reverts commit b70e48708b0dc8cd10f45471bad71caff2038077.
Revert "Revert "static and default params for generics""

This reverts commit 7b6f041aa3542f43c304493344d200b1a08a5253.
Revert "Revert "fix tforwardgeneric""

This reverts commit 0c4919a227570b96a8fa34b572726925c763f1cb.
Revert "Revert "fix threading tests""

This reverts commit 511e0f70000f3b02488851de93e9ccacbf9a77a6.
Revert "Revert "further fixes for void stripping. fixes tvoid.""

This reverts commit fe7100a0580302c7d32e1f9daf47e88ed1bd4fc9.
Revert "Revert "made some tests green""
fixes iterating over enums
some steps to improve the type mismatches with the new
generic instantiation logic
work-in-progress for compiling generics in their owner module
check the owners of generic instantiations properly and fix tinvalidclosure
hacky fix for generic constraints matching