Removed struct sitedef_parse_state; using sitedef_parser struct instead.

Moved is_error field from the state struct to the parser struct.
Changed the %extra_argument for the lemon parser from the state struct to
the parser struct and updated the rules.