Improve support for non-Alpino corpora.

* Allow querying the corpus type. For now, the corpus type is the
  name of the root element of a tree.
* In extraction functions for lexical nodes: allow the caller to
  specify the attribute for words (e.g. 'word' in Alpino, 'form'
  in TüBa).
We know 'ne' elements as well.