Adding define support to KLL compiler.

- Variable support is not complete
- However PartialMap support is basically ready
Fixing kll permutation expansion bug.