KORE milestone 1

**please review**

 - unit-tested convertors from KORE to KIL and back
 - significant changes and simplifications to KORE data structures. They are smaller and more powerful now

Radu, this is not the purpose of this pull request, and I haven't even touched the "load" line. I agree it is good to fix small things along the way but if you notice them, notice them from the beginning, not just before the pull request is ready to be merged. Don't trickle your feedback, do it in one go.