Grappa tuple writing

Writes tuple results of query into binary file
Writes schema of result tuple into normal file 
Adds test for relation_io, includes reading and writing tuples from binary files.

- [x] address comments