Modifying Mersenne WAL to use ragel

Modified the current implementation of
packing and unpacking WAL log information
to use ragel and messagepack instead of
protobuf.
Cleaning up the memory before `errx()` or any other functions that call `exit()` won't really improve your karma :)
There will be a lot of other allocated memory at this point, operating system will reclaim it anyways.