fix for Bug 2107: crash when trying to export SED-ML file
This fixes two issues:
- a crash when trying to access non-existing header entries
- a wrong xpath expression generated for compartment volume objects
- fix for Bug 2108: events with delay type 'none' could not be exported