Rewrote Makefile

Each module type has a own task in here. We can compile a loader,
compiler, builder, processor and ruleparser library, which can be
included as lib.

We produce a .a file. The 'all' task creates all libraries.

This approach is much better than the one with the required external
headers, as we can test if it compiles. But we have to add lua sources
and thessc sources.
we must include the lua header from the system include directory
Merge branch 'rewrite-makefile' into build