Make NetCDF.create() write global attributes

create() does not seem to do anything with the global attributes given to it. This change makes it actually write them. I'm not sure if this is the right place to add these lines but at least it seems to work for me.
Merge pull request #17 from dronir/patch-1

Make NetCDF.create() write global attributes