Fixed issue with not correctly processing tree during flattening
Fixed processing
Added new unit test
Added two failing test which should be fixed later on :)
Removed scanMixins flag to fix issues with cascaded extends
Improved test case
Rescanning scope helps fixing extend issues when reaching a mixin
Tweaked test
Improved test
Improved test complexity
Tweaked combine logic to correctly support extends
Fixed unit test
Minor changes