Add support for calling a class function method using this/super

Also standardize the parser code that uses this/super.