Factor out class expansion parsing

This commit prepares the code for more interesting parsing
of the initializer body (for expansion-introduced top-level
expressions for example) and faster parsing of methods and
other things in a single pass.
Type-check field initialization

Also fixed local accessors when internal names are used that
are different from external names.