Move classes in Parser.java to be inner.
Restricted visibility of inner classes in Parser.java.
Merge pull request #341 from kframework/newparser-3

Newparser 3