CLIMATE-386 - Add functionality to output a dataset as NetCDF

- Add dataset_processor.write_netcdf for outputting a Dataset object as
  a NetCDF4 file.
- Add unit tests for write_netcdf functionality.