remove old interfaces from ply lexer and parser and define new interface IGrammar for pyparsing implementation
minor improvement in Grammar.parse

return the parsed object directly