Add an error message if a trait uses a non static inner class
Move static compilation tests from @Mixin to trait
Fixed "this.foo" rewrite in case "foo" is not a member of the trait