syntax: Add “intermediate” attribute

+ By designating syntactic variables as intermediate, they are removed
  from the final syntax tree (and their children passed through to their
  parent nodes)

Signed-off-by: Max Reitz <xanclic@niwohlos.org>