enforce error threshold at the end of reading a split.
Though not usually required, it can be disabled by setting
"elephantbird.mapred.input.bad.record.check.only.in.close" to "false"
fallback when looking for getCounter to support running on CDH4
introduce a value copier class for supporting RecordReader that does not reuse a value (but uses a value that can be copied into another one).
Use reflection to handle Thrift types nested inside containers (list, map).
This fixes couple of known issues : 
  1. could not distinguish between a string and buffer inside a container
  2. could not find thrift class for a thrift exception in a container
unit tests for : 
 - 'binary' inside a container
 - exception inside a container
 - boolean type in a Union
remove formatting
remove formatting
casing fix
Merge pull request #320 from rore/master

Changes for using with cascading and CDH4
Merge pull request #321 from rangadi/generic_thrift_struct

Use reflection to handle Thrift structs better
Merge pull request #317 from rangadi/error_threshold_at_close

enforce error threshold at the end of reading a split