Fix the way we decide if hasNext is true or not in WALReader. Unit tests...

... for all classes.
We dont want to copy the data multiple times! Why not just write off the data one byte at a time. That should be faster than doing two passes on the data, and allocating memory.