add support for $self
moved from $self to $parser

also added generated tests for the above
and moved from local to member tokens
Merge pull request #8 from antlr/add-$parser-support

Add $parser support