Modified PairFunctionsRDD.saveAsNewAPIHadoopFile to pass
configuration to the output format if the format implements
Configurable.

This is necessary for some output formats to function.
For example, HBase's TableOutputFormat needs configuration in
order to know how to connect to HBase, and what table to write.