fix reading of quakeml with patched classes
major refactoring

many basic things working, like..
 - fetching/displaying existing event
 - modifying event
 - nonlinloc run
 - uploading new event

many things not reimplemented/tested yet..