Add support for class member variable

supersedes #1417
This still looks suspicious to me. The call to `super.transformClassDeclaration` should have transformed the `superClass` already.