PARQUET-24: port changes form parquet_mr

Author: julien <julien@twitter.com>

Closes #14 from julienledem/PARQUET_24 and squashes the following commits:

a0efb8f [julien] port changes form parquet_mr