DicomDir Implicit or Explicit VR

Fixes an error in DicomDirectory onSave where the offsets are specified correctly
Also allows for the endian to be specified in the the DicomDirectory constructor