quakeml extra tags: automatic type conversion

- writing extra tags to quakeml: save type information as attribute
  'pythonType'
- reading extra tags from quakeml: try to restore correct python type if
  attribute is present
- +tests