Improve initialization of Hive In/OutputFormat

Lazy initialize settings in a Hive environment
Separate table properties per input/output to prevent clashing
Save input properties (as Hive doesn't pass them in)
relates to #169