Started working on a logging implementation

It does work already but it is very user unfriendly atm, also only
implemented for the http module atm and 'breaks' all the other modules.
That's basically why this is on another branch as of now.

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>
Gcc doesn't know about -fPIE? That's a shame, I prefer pie

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>
A slightly better logging interface

The printf like builder is now in the program itself, modules
simply make function like log_page(), where page is the key. Working
sample in http.c

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>
A bit more security regarding buffers

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>
How about we only do the logging if we actually have a valid FILE*

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>
Removed some debugging info

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>