Feature/cached mz ml format change

Change the format of CachedMzML
 
- replaces https://github.com/OpenMS/OpenMS/pull/788
- write spectra and chromatogram number at the end of the file
- allows to start writing spectra without knowledge of the number of
  data to write