rework handling of journal entries in the source
rework handling of journal entries in the source

* using malloc instead of alloca, so big chunks of data in one entry wont
  be a problem
* we now don't copy the data two times for multiline messages, all in all
  this section should be more readable now

travelping/journal-gateway-zmtp,travelping/journal-gateway-zmtp