Updated maketool.

Doing multiple iterations for variable substitution.
Added list files for most of the subprojects.
Fixed .kateproject.
Misc. New build system. (WIP)