XD-1178 Make avro sink options consistent with hdfs

- provide temporary custom implementation for DatasetTemplate
  to allow for null values in POJOs written (SHDP-245)

- fixing avro sink expiration of groups