Fix bugs around emulating scalac linkedClassOfClass.
Adapt backend to changes in scalac: new symbols get positions and types.
Differentiate between scala and java's flags: private and final