waf: Introduce waf, make it build again.

Replaced the buildsystem by waf so it can
be linked easily statically into oregano.