Add ZMAP write support for earthquake catalogs

More formats are likely to follow later. Let me know if you need me to make any changes.

Best
Lukas
Same here

```python
magnitude = ev.preferred_magnitude() or ev.magnitudes[0]
```