enable CSV Reader to ignore invalid lines like an empty line at the end and comments - FLINK-1208

Corresponding to issue FLINK-1208:
enable CSV Reader to ignore invalid lines like an empty line at the end, multiple header lines or comments without throwing an exception
My intention was to capture the null in the DelimitedInputFormat before it is given to the DataSourceTask.