[FLINK-1226] Add API support for passing Configurations to InputFormats