make things that look like closeables implement Closeable
Merge pull request #27 from Parquet/make_closeable

make things that look like closeables implement Closeable
Start implementation parquet for hive :

 - Read simple data (INT32, INT64, DOUBLE, FLOAT, BOOLEAN, BINARY -String)
 - Write simple data (INT32, INT64, FLOAT, DOUBLE, BOOLEAN, BINARY -String)
 - Read data works only if HiveInputFormat is set (not CombineHive)

TODO :

 - Support complex type (struct, map, array)
 - Support CombineHive
 - Unit test :)
Remove any K,V from DeprecatedXXFormat
Add support for CombineHiveInputFormat

- This recreates the input splits by reading each file's metadata
- This is slower than being able to get our InputSplits directly,
but still faster than calling getSplits over and over again
Can write complex types
Can read some complex types

- Structs should be entirely good
- Array and maps do not seem to work correctly