Added support for functions referencing themselves.
Added local scope indication in the viewer (showing local/nested classes and
functions).
Added tests of nested classes and functions.
1classA: 2"A class with attribute and method." 3x=123 4defm(self,x): 5self.x=x 6a=A() 7y=A.x 8a.m(321) 9z=a.x