Added imdblog writing support

Signed-off-by: nixnodes <code@eth.si>
Latest: 1.4

Signed-off-by: nixnodes <code@eth.si>
Now possible to write binary records, using only ASCII format input
(scripts not only recieve binary data, but can write it back to log too)
Created new data format (iMDB log)
Added -a, -z <log>, --[i]matchq, --dirc and --infile (see --help)
Various behaviour changes and improvements + minor bugfixes
Writing records works with dirlog, nukelog and imdblog (rev. 1)

Signed-off-by: nixnodes <code@eth.si>