Inlineable classes

This WiP PR will host the inlineable classes optimization. Follow up in the comments.
Consider adding a comment why you special case this / where it occurs. (Initializers of inlined modules??)