configure.ac: Add support for --enable-debug

This adds an --enable-debug option which turns on the ENABLE_DEBUG macro
if passed to configure. It does not touch the CFLAGS, as we should be
building with -Wall -g anyway, and the level of debugging info needed is
best left for the user. This closes #76.

Reported-by: Viktor Tusa <tusavik@gmail.com>
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
Merge pull request #78 from algernon/f/configure/enable-debug

configure.ac: Add support for --enable-debug
This provides a module to produce logs on an Apache Kafka
distributed queue.

The configuration allows choosing a fixed, random or dynamic
partition key for payloads. Message payloads are generated
with a template. The configuration also allows setting
arbitrary metadata and topic metadata.