affile, afsocket: Properly call the LogSrcDriver queue method

Since both the affile and afsocket sources are descendants of
LogSrcDriver, they both should call log_src_driver_queue_method(), so
that it can set the SOURCE macro appropriately, and do its other tasks.

The socket source was explicitly setting the queue method to NULL, for a
fallback to log_pipe_forward_msg(), while the file source was setting
its own properties, and failed to call the parents queue method.

The other sources were unaffected. This closes #186.

Reported-by: Fabien Wernli
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
logwriter: throttle bug fixed

in log_writer_perform() we should use LW_FLUSH_NORMAL, otherwise
throttle won't work

flush_waiting_for_timeout renamed to waiting_for_throttle
- log_queue_check_items() set timeout_msec if throttle is used

Signed-off-by: Budai Laszlo <Laszlo.Budai@balabit.com>
Merge pull request #188 from lbudai/f/merge-proto-fix

logwriter: throttle bug fixed
Merge pull request #187 from algernon/f/3.6/source-queue-method-inheritance

affile, afsocket: Properly call the LogSrcDriver queue method