Move core components to scala

* Core components are now in Scala
* Reflection is done using `Seq`
* XML code is removed
* `CompactTaggerCollection` is now the `TaggerCollection`
* `Tagger` contract simplified
* `Type` from nlptools is used.

Basically the code is simpler and does more.