Initial refactoring of the event view / xml exports

- event view and xml exports all use __fetchEvent now

- unified the permission checks

- same output for event/id.xml and the xml exports
Merge branch 'develop' of https://github.com/MISP/MISP into develop