minor fix
write file for debugging if validation failed
workarounds for empty magnitudes
fix some units.. (closes #1)

- arrival distance is in degrees
- origin uncertainties are in m
- station distances are in degrees
change resource ids

only catalog and event get legacy event id in resource identifier,
everything else just gets a uuid